Commit 5676d3b2 by 袁伟铭

1.0.0

parent 7462d645
...@@ -56,7 +56,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -56,7 +56,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
private final RedisUtils redisUtils; private final RedisUtils redisUtils;
@Bean @Bean
GrantedAuthorityDefaults grantedAuthorityDefaults() { public GrantedAuthorityDefaults grantedAuthorityDefaults() {
// 去除 ROLE_ 前缀 // 去除 ROLE_ 前缀
return new GrantedAuthorityDefaults(""); return new GrantedAuthorityDefaults("");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment