This commit is contained in:
Adrian Hopek 2022-03-21 13:41:08 +01:00
parent b4e20b79fb
commit d21c1e3948

View File

@ -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");