mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-08-29 09:04:14 +00:00
Compare commits
2 Commits
94aa9e13a4
...
62b5c51593
Author | SHA1 | Date | |
---|---|---|---|
![]() |
62b5c51593 | ||
![]() |
0ff4198ee1 |
@@ -100,7 +100,7 @@ public class UserInfoService {
|
||||
.orElseThrow(UserInfoNotExistsException::new);
|
||||
|
||||
// 判断原密码是否正确
|
||||
if (!BCrypt.checkpw(newPassword, userInfo.getPassword())) {
|
||||
if (!BCrypt.checkpw(password, userInfo.getPassword())) {
|
||||
throw new BizException("旧密码错误");
|
||||
}
|
||||
userInfo.setPassword(newPassword);
|
||||
|
Reference in New Issue
Block a user