mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Rollback for ninja mailer
This commit is contained in:
parent
51f04058df
commit
56186840f2
@ -211,10 +211,10 @@ class NinjaMailerJob implements ShouldQueue
|
||||
}
|
||||
|
||||
//17-01-2022 - ensure we have a token otherwise we fail gracefully to default sending engine
|
||||
if(strlen($user->oauth_user_token) == 0){
|
||||
$this->nmo->settings->email_sending_method = 'default';
|
||||
return $this->setMailDriver();
|
||||
}
|
||||
// if(strlen($user->oauth_user_token) == 0){
|
||||
// $this->nmo->settings->email_sending_method = 'default';
|
||||
// return $this->setMailDriver();
|
||||
// }
|
||||
|
||||
$google->getClient()->setAccessToken(json_encode($user->oauth_user_token));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user