Fix Google OAuth (userID)

This commit is contained in:
Matej Bačo 2022-05-18 07:37:20 +00:00
parent c7c958c9ef
commit fa879b8c7c

View file

@ -114,7 +114,7 @@ class Google extends OAuth2
{
$user = $this->getUser($accessToken);
return $user['id'] ?? '';
return $user['sub'] ?? '';
}
/**