Added EmailVerified to the User model and implmeneted Registration functionality #33
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user