Exemple #1
0
        public void ResetPassword(string userName, string newPassword)
        {
            string passwordHash = _cryptographyProvider.CreateValueHash(newPassword);

            DoSimpleUpdateOne(TABLE_NAME, "NAASAccount", userName,
                              "PasswordHash", passwordHash);
        }