Authorize only API tokens when 2FA is enabled

This commit is contained in:
Frédéric Guillot
2019-02-01 15:40:35 -08:00
parent fa08493348
commit 233fd1a8a1
4 changed files with 31 additions and 4 deletions

View File

@@ -31,6 +31,11 @@ class AuthenticationManager extends Base
*/
private $providers = array();
public function reset()
{
$this->providers = [];
}
/**
* Register a new authentication provider
*