|
|
@@ -101,7 +101,9 @@ public class SysLoginService {
|
|
|
String token = fjnxLoginService.webLoginByPass(login);
|
|
|
// 如果统一门户验证失败, 再走本系统默认密码验证
|
|
|
if (StringUtils.isEmpty(token)) {
|
|
|
- passwordService.validate(user, password, platformType);
|
|
|
+ // token 为空有多种原因,在catch中也有验证,都放在 catch中验证,如果验证失败会验证2次
|
|
|
+ throw new ServiceException("统一门户验证失败,返回Token为空");
|
|
|
+ //passwordService.validate(user, password, platformType);
|
|
|
}
|
|
|
}
|
|
|
// 如果统一门户验证失败, 再走本系统默认密码验证
|