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'), $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')); throw new DisplayException(trans('auth.two_factor.checkpoint_failed'));
} }