feat: auth with google
This commit is contained in:
@@ -71,7 +71,6 @@ class AuthenticateSocialUser
|
||||
->first();
|
||||
|
||||
if (! $user) {
|
||||
abort_if($data['intent'] !== 'register', 422, 'SOCIAL_ACCOUNT_NOT_FOUND');
|
||||
abort_if(($data['termsAccepted'] ?? false) !== true, 422, 'TERMS_ACCEPTANCE_REQUIRED');
|
||||
|
||||
$user = User::create([
|
||||
|
||||
Reference in New Issue
Block a user