diff --git a/app/Infrastructure/Http/Controllers/GoogleController.php b/app/Infrastructure/Http/Controllers/GoogleController.php index b5e2618..65c8395 100644 --- a/app/Infrastructure/Http/Controllers/GoogleController.php +++ b/app/Infrastructure/Http/Controllers/GoogleController.php @@ -36,7 +36,9 @@ class GoogleController extends Controller ]); } - $user->update(["password" => $hash->make(Str::random(40))]); + $user->update([ + "password" => $hash->make(Str::random(40)), + ]); $auth->guard()->login($user, true); return redirect()->route("dashboard");