function MoAuthPasswordValidator::isLastPasswordInserted in Google Authenticator / 2 Factor Authentication - 2FA 7
1 call to MoAuthPasswordValidator::isLastPasswordInserted()
File
- classes/
MoAuthPasswordValidator.php, line 64
Class
Code
function isLastPasswordInserted($result) {
foreach ($result as $key => $value) {
if ($value->pass == $this->user->pass) {
return TRUE;
}
}
return FALSE;
}