|
@@ -100,7 +100,7 @@ public class SysLoginService
|
|
|
ServletUtils.getRequest().setAttribute("loginType",loginType);
|
|
|
|
|
|
// 用户验证
|
|
|
- if (StudentLoginTypeEnum.AUTHORIZATION_CODE_LOGIN.getCode().equals(loginType)){
|
|
|
+ if (StudentLoginTypeEnum.AUTHORIZATION_CODE_LOGIN.getCode().equals(loginType)||StudentLoginTypeEnum.IOS_CODE_LOGIN.getCode().equals(loginType)){
|
|
|
return authenticate(principal,new OpenIdAuthenticationToken(principal));
|
|
|
}
|
|
|
else{
|