1
0

Fixed credential set for initial setup

This commit is contained in:
Michael Gordeev
2020-04-05 16:04:38 +03:00
parent 2e801f2e88
commit 657b33944f
@@ -52,7 +52,7 @@ namespace MyWebsite.Areas.Admin.Controllers
Database.Users.Add(new CredentialModel
{
Email = value,
Password = credential.Password
Password = credential?.Password ?? Encryptor.ComputeHash("qwerty")
});
break;