feat: auth with google
CI / 🧪 Tests Laravel (push) Successful in 3m9s
CI / 🐳 Build & Push Images (push) Successful in 47s

This commit is contained in:
2026-08-17 15:13:21 +02:00
parent a037e99cff
commit 2d794ff0c9
2 changed files with 43 additions and 6 deletions
-1
View File
@@ -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([