Example #1
0
        public bool PasswordIsValid(User user)
        {
            User   DbUser         = FindByEmail(user.Email);
            string SaltedPassword = user.Password + DbUser.Salt;

            return(encryptionManager.verifyPassword(SaltedPassword, DbUser.Password));
        }