1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 04:12:28 +01:00

Show correct auth error.

This commit is contained in:
Dane Everitt 2018-04-08 16:16:04 -05:00
parent b6e94d9a1e
commit 4fad244073
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -106,7 +106,7 @@ abstract class AbstractLoginController extends Controller
$this->getField($request->input('user')) => $request->input('user'),
]);
if ($request->route()->named('auth.checkpoint')) {
if ($request->route()->named('auth.login-checkpoint')) {
throw new DisplayException(trans('auth.two_factor.checkpoint_failed'));
}