diff options
author | Frédéric Guillot <fred@kanboard.net> | 2019-02-01 15:40:35 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-02-01 15:40:35 -0800 |
commit | 233fd1a8a1e4da808ce34f91194a423522e5c478 (patch) | |
tree | 87f4f2be0c3bda9f958755bcfc9a71037113cb57 /app/Core/Security/AuthenticationManager.php | |
parent | fa08493348f54fae3eed64f8de4eb5893000a918 (diff) |
Authorize only API tokens when 2FA is enabled
Diffstat (limited to 'app/Core/Security/AuthenticationManager.php')
-rw-r--r-- | app/Core/Security/AuthenticationManager.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Core/Security/AuthenticationManager.php b/app/Core/Security/AuthenticationManager.php index e7a3c8d4..05ad6485 100644 --- a/app/Core/Security/AuthenticationManager.php +++ b/app/Core/Security/AuthenticationManager.php @@ -31,6 +31,11 @@ class AuthenticationManager extends Base */ private $providers = array(); + public function reset() + { + $this->providers = []; + } + /** * Register a new authentication provider * |