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

This commit is contained in:
amazing-username committed 2019-04-28 01:22:51 +00:00
1 parent 105ac85a66
commit 8a38417a51
3 files changed
+9 -4

No files matched your search

+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