This commit is contained in:
EwelinaLasowy
2022-02-10 11:22:07 +01:00
parent d026d41715
commit d4c2f80eec
12 changed files with 146 additions and 72 deletions

View File

@@ -29,9 +29,7 @@ class GoogleController extends Controller
} catch (ModelNotFoundException) {
return redirect()
->route("login")
->withErrors([
"oauth" => __("User does not exist."),
]);
->with("error", __("User does not exist."));
}
$auth->guard()->login($user, true);