|
@@ -167,7 +167,11 @@ public class LoginService {
|
|
|
if(StringUtils.isNotBlank(param.getClear()) && param.getClear().equals("YES")){
|
|
|
password = param.getPassword();
|
|
|
}else {
|
|
|
- password = Base64Converter.decode(Base64Converter.subText(param.getPassword()));
|
|
|
+ try {
|
|
|
+ password = Base64Converter.decode(Base64Converter.subText(param.getPassword()));
|
|
|
+ }catch (Exception e){
|
|
|
+ password = param.getPassword();
|
|
|
+ }
|
|
|
}
|
|
|
if(!password.matches(ConstantFilePath.PASSWORD_REGEX)){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3011, LoginConstant.FAILURE_MSG_3011);
|