This commit is contained in:
Adrian Hopek
2022-02-15 10:30:41 +01:00
parent 166bec1e51
commit 425d7c7608
11 changed files with 99 additions and 162 deletions

View File

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