|
|
@@ -137,7 +137,7 @@ public class UserServiceImpl implements UserService {
|
|
|
if (noEncryPwd.length() >= 32) {
|
|
|
/// 之后添加日志时恢复
|
|
|
//logger.error("用户密码加密", String.format("传递过来的密码(%s)必须是未加密的明文", noEncryPwd));
|
|
|
- throw new AccountException("invalid password");
|
|
|
+ throw new VisibleError("密码过长,请重新输入");
|
|
|
}
|
|
|
// $password{$salt}
|
|
|
String password = format.replace(Const.ENCRY_PARAM_PASSWORD, noEncryPwd);
|