function MoAuthPasswordValidator::passwordMustNotBeRules in Google Authenticator / 2 Factor Authentication - 2FA 7
File
- classes/
MoAuthPasswordValidator.php, line 74
Class
Code
function passwordMustNotBeRules() {
$loginSettings = new MoAuthLoginSettings();
$rulesResult = array();
if ($loginSettings
->getPasswordMustNotBeEnabled()) {
$rules = explode(';', $loginSettings
->getPasswordMustNotBeRules());
foreach ($rules as $rule) {
$rulesResult[] = $this
->getRuleValue($rule);
}
}
return $rulesResult;
}