You are here

function MoAuthPasswordValidator::__construct in Google Authenticator / 2 Factor Authentication - 2FA 7

File

classes/MoAuthPasswordValidator.php, line 11

Class

MoAuthPasswordValidator

Code

function __construct($plainPassword, $account) {
  $this->numberOfUniquePasswords = variable_get('MoAuthnumberOfUniquePasswords', 0);
  $this->user = $account;
  $this->plainPassword = $plainPassword;
}