修复密码问题
This commit is contained in:
@@ -362,7 +362,7 @@ public class AccountManageService {
|
||||
|
||||
String oldPwd = account.getPassword();
|
||||
password = encryptPassword(password);
|
||||
if (!StringUtils.hasText(password) || password.equals(oldPwd)){
|
||||
if (!StringUtils.hasText(password) || !password.equals(oldPwd)){
|
||||
throw new ServiceException(OAuthStatus.OLD_PASSWORD_ERROR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user