From d21c1e39487414aad69af123d93b97328640b9a5 Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Mon, 21 Mar 2022 13:41:08 +0100 Subject: [PATCH] #84 - ecs fix --- app/Infrastructure/Http/Controllers/GoogleController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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");