Added EmailVerified to the User model and implmeneted Registration functionality #33

This commit is contained in:
amazing-username
2019-04-28 01:22:51 +00:00
parent 105ac85a66
commit 8a38417a51
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -43,6 +43,7 @@ namespace Icarus.Controllers
PasswordEncryption pe = new PasswordEncryption();
user.Password = pe.HashPassword(user);
user.EmailVerified = false;
Console.WriteLine($"Hashed Password: {user.Password}");
UserStoreContext context = HttpContext.RequestServices