This commit is contained in:
luke 2025-06-12 18:28:19 +08:00
parent 58c75ce332
commit 6440a1c97e

View File

@ -42,7 +42,7 @@ public class UserAuthDomainSupportImpl implements UserAuthDomainSupport {
throw new DomainException("旧密码错误!"); throw new DomainException("旧密码错误!");
} }
user.setPassword(newInputHash); user.setPassword(newInputHash);
userRepository.save(user); userRepository.update(user);
return true; return true;
} }