修改滑动验证码

This commit is contained in:
qdxkrs 2022-06-16 10:50:51 +08:00
parent 3006b3c751
commit 6148ca9ae8
2 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 过滤请求
.authorizeRequests()
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/register", "/captchaImage").anonymous()
// .antMatchers("/login", "/register", "/captchaImage").anonymous()
.antMatchers("/login", "/register", "/captcha/get", "/captcha/check").permitAll()
.antMatchers(
HttpMethod.GET,
"/",