fix 判断冲突

This commit is contained in:
2024-03-23 16:38:42 +08:00
parent 9040bf8c95
commit 36efd5deca
2 changed files with 26 additions and 19 deletions

View File

@@ -77,6 +77,8 @@ public class UserService : IUserService
{
UserName = request.Username,
NormalizedUserName = request.Username.ToUpper(),
ConcurrencyStamp = Guid.NewGuid().ToString(),
SecurityStamp = Guid.NewGuid().ToString(),
};
request.Password = hasher.HashPassword(user, request.Password);
user.PasswordHash = request.Password;