From 0a9b6f0d999596cb46201b7df4373fdabd683cf7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 21 May 2015 22:08:19 -0400 Subject: Fix issue: change 2fa condition due to controller renaming --- app/Controller/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/Base.php b/app/Controller/Base.php index 477d82a5..30d0b4e4 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -212,7 +212,7 @@ abstract class Base */ public function handle2FA($controller, $action) { - $ignore = ($controller === 'twofactor' && in_array($action, array('code', 'check'))) || ($controller === 'user' && $action === 'logout'); + $ignore = ($controller === 'twofactor' && in_array($action, array('code', 'check'))) || ($controller === 'auth' && $action === 'logout'); if ($ignore === false && $this->userSession->has2FA() && ! $this->userSession->check2FA()) { -- cgit v1.2.3