Commit 9c1d4743 by zhouhaibao

fix(sso): 注释掉管理员手机号校验逻辑

- 注释掉 getAdminPhoneAccount 的调用及空值判断
- 移除管理员手机号存在时直接返回 null 的阻断逻辑
- 使登录流程不再因管理员手机号校验而中断
1 parent df042aba
......@@ -98,10 +98,10 @@ public class UserLoginService {
if ("gh".equals(gh)){
return null;
}
String adminPhone = getAdminPhoneAccount(request);
/* String adminPhone = getAdminPhoneAccount(request);
if (StringUtils.isNotEmpty(adminPhone)){
return null;
}
}*/
String validPhone = getSSOValidPhoneAccount(request);
if (StringUtils.isNotEmpty(validPhone)){
return validPhone;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!