summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2019-02-01 15:40:35 -0800
committerFrédéric Guillot <fred@kanboard.net>2019-02-01 15:40:35 -0800
commit233fd1a8a1e4da808ce34f91194a423522e5c478 (patch)
tree87f4f2be0c3bda9f958755bcfc9a71037113cb57 /app/ServiceProvider
parentfa08493348f54fae3eed64f8de4eb5893000a918 (diff)
Authorize only API tokens when 2FA is enabled
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/AuthenticationProvider.php2
1 files changed, 1 insertions, 1 deletions
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;