|
@@ -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; |
|
|