add global disable variable
This commit is contained in:
@ -78,7 +78,14 @@ class d3totp extends BaseModel
|
||||
return $user;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isActive()
|
||||
{
|
||||
return false == Registry::getConfig()->getConfigParam('blDisableTotpGlobally')
|
||||
&& $this->UserUseTotp();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $userId
|
||||
|
Verwijs in nieuw issue
Block a user