Always save the user account when created via the social network authenticate service

This commit is contained in:
Elias Luhr
2024-01-05 15:39:19 +01:00
parent 9aea9c76c0
commit e5d5ea426d

View File

@ -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;
} }