Browse Source

远程 专有钉

master
liuxinxin 1 year ago
parent
commit
1e4f006567
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java
  2. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/credential/CredentialAuthProvider.java

+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java View File

@@ -50,7 +50,6 @@ public class UserAuthLoginManage {
return userFullInfoDTO; return userFullInfoDTO;
} }



/** /**
* 根据accountId * 根据accountId
* *


+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/credential/CredentialAuthProvider.java View File

@@ -49,7 +49,6 @@ public class CredentialAuthProvider implements AuthenticationProvider {
if (Objects.isNull(accountId)) { if (Objects.isNull(accountId)) {
throw new BadCredentialsException("login fail! 浙政钉校验失败"); throw new BadCredentialsException("login fail! 浙政钉校验失败");
} }

user = userDetailsService.loadUserByUsername(accountId + UserDeatilsServiceConstant.USER_DETAILS_SERVICE_SEPARATOR + loginTypeEnum.name()); user = userDetailsService.loadUserByUsername(accountId + UserDeatilsServiceConstant.USER_DETAILS_SERVICE_SEPARATOR + loginTypeEnum.name());
} }
break; break;


Loading…
Cancel
Save