コード例 #1
0
 public override bool ValidateUser(string username, string password)
 {
     UserBL userBL = new UserBL();
     string salt = userBL.GetSalt(username);
     if (salt != null && salt != string.Empty)
     {
         password = userBL.hashPassword(password, salt);
         return userBL.ValidateUser(username, password);
     }
     return false;
 }