private bool VerifyPassword(AccountPassword account, string password)
 {
     var givenPassword = new Password(password, account.PasswordSalt);
     return givenPassword.EqualsSaltedHash(account.Password);
 }
Ejemplo n.º 2
0
 public bool VerifyPassword(string password)
 {
     var givenPassword = new Password(password, PasswordSalt);
     return givenPassword.EqualsSaltedHash(PasswordHash);
 }