mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-21 08:51:34 +02:00
Merge pull request #5202 from turbo124/v5-develop
Minor fixes for oauth login
This commit is contained in:
commit
bb8a55ca6e
@ -330,7 +330,7 @@ class LoginController extends BaseController
|
||||
// $client->setClientSecret(config('ninja.auth.google.client_secret'));
|
||||
// $client->setRedirectUri(config('ninja.app_url'));
|
||||
|
||||
// $token = false;
|
||||
$token = false;
|
||||
|
||||
// try{
|
||||
// $token = $client->authenticate(request()->input('server_auth_code'));
|
||||
@ -350,6 +350,7 @@ class LoginController extends BaseController
|
||||
// $refresh_token = $token['refresh_token'];
|
||||
// }
|
||||
|
||||
$refresh_token = '';
|
||||
|
||||
$name = OAuth::splitName($google->harvestName($user));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user