提交 9689ea3c 编写于 作者: zhouweidong's avatar zhouweidong

注销清除缓存

上级 cd6062a8
......@@ -114,7 +114,7 @@ public class ${app.getPKGCodeName()}SecurityConfig extends WebSecurityConfigurer
//放行登录请求
.antMatchers( HttpMethod.POST,"/"+loginPath).permitAll()
//放行注销请求
.antMatchers( HttpMethod.POST,"/"+logoutPath).permitAll()
.antMatchers( HttpMethod.GET,"/"+logoutPath).permitAll()
// 文件操作
.antMatchers("/"+downloadpath+"/**").permitAll()
.antMatchers("/"+uploadpath).permitAll()
......
......@@ -109,7 +109,7 @@ public class DevBootSecurityConfig extends WebSecurityConfigurerAdapter {
//放行登录请求
.antMatchers( HttpMethod.POST,"/"+loginPath).permitAll()
//放行注销请求
.antMatchers( HttpMethod.POST,"/"+logoutPath).permitAll()
.antMatchers( HttpMethod.GET,"/"+logoutPath).permitAll()
// 文件操作
.antMatchers("/"+downloadpath+"/**").permitAll()
.antMatchers("/"+uploadpath).permitAll()
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册