Browse Source

更新

tags/v2.5.2^2
xiaoying 1 year ago
parent
commit
7be7c2194f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/ThirdServiceImpl.java

+ 1
- 1
tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/ThirdServiceImpl.java View File

@@ -127,7 +127,7 @@ public class ThirdServiceImpl implements ThirdService {
tokenResult.setSub(result.getUserName());
tokenResult.setUserId(result.getUserId());
tokenResult.setUserName(result.getUserName());
ProfileResult profile = tokenResult.getProfile();
ProfileResult profile = new ProfileResult();
BeanUtils.copyProperties(tokenResult,profile);
profile.setAuthority(authorityList);
profile.setClientRoleList(clientRoleDtoList);

Loading…
Cancel
Save