Always save the user account when created via the social network authenticate service
This commit is contained in:
@ -108,7 +108,7 @@ class SocialNetworkAuthenticateService implements ServiceInterface
|
|||||||
$account->user_id = $user->id;
|
$account->user_id = $user->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($account->save(false)) {
|
if (!$account->save(false)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user