1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5992 from turbo124/v5-develop

Fixes for scopes
This commit is contained in:
David Bomba 2021-06-10 16:57:33 +10:00 committed by GitHub
commit 770b4c9776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -493,7 +493,7 @@ class LoginController extends BaseController
$scopes = [];
if($provider == 'google'){
$scopes = ['https://www.googleapis.com/auth/gmail.send','email','profile','openid'];
$scopes = ['gmail.send','email','profile','openid'];
}
if (request()->has('code')) {