We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199e0f7 commit 139745bCopy full SHA for 139745b
src/Http/Controllers/Auth/LoginController.php
@@ -47,7 +47,7 @@ public function login(Request $request): RedirectResponse
47
]);
48
}
49
50
- if (! Auth::guard()->user()->hasVerifiedEmail()) {
+ if (! $request->user()->hasVerifiedEmail()) {
51
return $this->logout($request)->withErrors([
52
'email' => [__('auth.unverified')],
53
0 commit comments