Skip to content

Commit 4fad244

Browse files
committed
Show correct auth error.
1 parent b6e94d9 commit 4fad244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Auth/AbstractLoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function sendFailedLoginResponse(Request $request, Authenticatable $us
106106
$this->getField($request->input('user')) => $request->input('user'),
107107
]);
108108

109-
if ($request->route()->named('auth.checkpoint')) {
109+
if ($request->route()->named('auth.login-checkpoint')) {
110110
throw new DisplayException(trans('auth.two_factor.checkpoint_failed'));
111111
}
112112

0 commit comments

Comments
 (0)