From 4fad244073b36af2559e1f857792f6200cc03297 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 8 Apr 2018 16:16:04 -0500 Subject: [PATCH] Show correct auth error. --- app/Http/Controllers/Auth/AbstractLoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/AbstractLoginController.php b/app/Http/Controllers/Auth/AbstractLoginController.php index 8d0fb6ad6..0db4bd752 100644 --- a/app/Http/Controllers/Auth/AbstractLoginController.php +++ b/app/Http/Controllers/Auth/AbstractLoginController.php @@ -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')); }