Skip to content

Commit 139745b

Browse files
committed
cleanup
1 parent 199e0f7 commit 139745b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/Auth/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function login(Request $request): RedirectResponse
4747
]);
4848
}
4949

50-
if (! Auth::guard()->user()->hasVerifiedEmail()) {
50+
if (! $request->user()->hasVerifiedEmail()) {
5151
return $this->logout($request)->withErrors([
5252
'email' => [__('auth.unverified')],
5353
]);

0 commit comments

Comments
 (0)