From 233fd1a8a1e4da808ce34f91194a423522e5c478 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 1 Feb 2019 15:40:35 -0800 Subject: Authorize only API tokens when 2FA is enabled --- app/ServiceProvider/AuthenticationProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/ServiceProvider') diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php index 668d6d6b..066f45e5 100644 --- a/app/ServiceProvider/AuthenticationProvider.php +++ b/app/ServiceProvider/AuthenticationProvider.php @@ -2,13 +2,13 @@ namespace Kanboard\ServiceProvider; -use Kanboard\Auth\ApiAccessTokenAuth; use Pimple\Container; use Pimple\ServiceProviderInterface; use Kanboard\Core\Security\AuthenticationManager; use Kanboard\Core\Security\AccessMap; use Kanboard\Core\Security\Authorization; use Kanboard\Core\Security\Role; +use Kanboard\Auth\ApiAccessTokenAuth; use Kanboard\Auth\RememberMeAuth; use Kanboard\Auth\DatabaseAuth; use Kanboard\Auth\LdapAuth; -- cgit v1.2.3