Merge pull request #5877 from turbo124/v5-develop

Fixes for gmail oauth
This commit is contained in:
David Bomba 2021-06-01 19:57:27 +10:00 committed by GitHub
commit 0c7af9018b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,7 +497,6 @@ class LoginController extends BaseController
public function handleProviderCallback(string $provider) public function handleProviderCallback(string $provider)
{ {
$socialite_user = Socialite::driver($provider) $socialite_user = Socialite::driver($provider)
->stateless()
->user(); ->user();
if($user = OAuth::handleAuth($socialite_user, $provider)) if($user = OAuth::handleAuth($socialite_user, $provider))