diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 4dd0db5320..51fb60d883 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -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));