Updated User model, Updated Password encryption to use a BCrypt implementation, Updated UserStoreContext #23, #24, #33
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Icarus.Controllers
|
||||
Console.WriteLine($"Password: {user.Password}");
|
||||
|
||||
PasswordEncryption pe = new PasswordEncryption();
|
||||
user = pe.HashPassword(user);
|
||||
user.Password = pe.HashPassword(user);
|
||||
Console.WriteLine($"Hashed Password: {user.Password}");
|
||||
|
||||
UserStoreContext context = HttpContext.RequestServices
|
||||
|
||||
Reference in New Issue
Block a user