Compare commits
No commits in common. "44fa4d3fc4a7dfbe43b4825c42e30055b378cec9" and "5e48ed1e236b5358b59414a7f6856e5f8ed8261a" have entirely different histories.
44fa4d3fc4
...
5e48ed1e23
|
@ -123,17 +123,14 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
throw new BusinessValidationFailedException(_localizer["User_PassWordRepeat"]);
|
||||
}
|
||||
if (oldPwd != null)
|
||||
{
|
||||
await _userPassWordLogRepository.AddAsync(new UserPassWordLog()
|
||||
{
|
||||
|
||||
CreateTime = DateTime.Now,
|
||||
PassWord = oldPwd,
|
||||
UserId = userId,
|
||||
});
|
||||
}
|
||||
|
||||
await _userPassWordLogRepository.AddAsync(new UserPassWordLog()
|
||||
{
|
||||
|
||||
CreateTime = DateTime.Now,
|
||||
PassWord = oldPwd,
|
||||
UserId = userId,
|
||||
});
|
||||
|
||||
await _userRepository.BatchUpdateNoTrackingAsync(x => x.Id == userId, x => new User()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue