修改滑动验证码
This commit is contained in:
parent
3006b3c751
commit
6148ca9ae8
@ -97,7 +97,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|||||||
// 过滤请求
|
// 过滤请求
|
||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
||||||
.antMatchers("/login", "/register", "/captchaImage").anonymous()
|
// .antMatchers("/login", "/register", "/captchaImage").anonymous()
|
||||||
|
.antMatchers("/login", "/register", "/captcha/get", "/captcha/check").permitAll()
|
||||||
.antMatchers(
|
.antMatchers(
|
||||||
HttpMethod.GET,
|
HttpMethod.GET,
|
||||||
"/",
|
"/",
|
||||||
|
Loading…
Reference in New Issue
Block a user