mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
登录bug fix...
This commit is contained in:
@@ -126,7 +126,7 @@ public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdap
|
||||
tokenServices.setTokenStore(tokenStore());
|
||||
tokenServices.setSupportRefreshToken(true);//支持刷新token
|
||||
tokenServices.setReuseRefreshToken(true);
|
||||
tokenServices.setClientDetailsService(endpoints.getClientDetailsService());
|
||||
// tokenServices.setClientDetailsService(endpoints.getClientDetailsService());
|
||||
tokenServices.setTokenEnhancer(endpoints.getTokenEnhancer());
|
||||
addUserDetailsService(tokenServices);
|
||||
return tokenServices;
|
||||
|
||||
@@ -131,7 +131,7 @@ public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdap
|
||||
tokenServices.setTokenStore(tokenStore());
|
||||
tokenServices.setSupportRefreshToken(true);//支持刷新token
|
||||
tokenServices.setReuseRefreshToken(true);
|
||||
tokenServices.setClientDetailsService(endpoints.getClientDetailsService());
|
||||
// tokenServices.setClientDetailsService(endpoints.getClientDetailsService());
|
||||
tokenServices.setTokenEnhancer(endpoints.getTokenEnhancer());
|
||||
addUserDetailsService(tokenServices);
|
||||
return tokenServices;
|
||||
|
||||
Reference in New Issue
Block a user