updating responseDto in userloginendpoint
This commit is contained in:
@@ -20,7 +20,7 @@ public class CreateLoginEndpoint(LibraryDbContext database) : Endpoint<CreateLog
|
|||||||
{
|
{
|
||||||
Username = req.Username,
|
Username = req.Username,
|
||||||
FullName = req.FullName,
|
FullName = req.FullName,
|
||||||
Password = BCrypt.Net.BCrypt.HashPassword(req.Password + salt),
|
Password = BCrypt.Net.BCrypt.HashPassword(req.Password + salt),
|
||||||
Salt = salt
|
Salt = salt
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user