Beispiel #1
0
        public void CreateNewAccount(WebUserData data)
        {
            string salt = GenerateSalt();

            _loginDal.CreateAccount(data.UserName, GetSHA512HashValue(data.Password + salt), salt, data.Email);
        }