漏洞修改

This commit is contained in:
jiang 2025-08-29 17:28:32 +08:00
parent d93865d43b
commit da24510b46
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
auth.authenticationProvider(userAuthenticationProvider); auth.authenticationProvider(userAuthenticationProvider);
} }
@Bean /* @Bean
SecurityFilterChain filterChain(HttpSecurity http) throws Exception { SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http http
.headers(headers -> headers .headers(headers -> headers
@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
) )
); );
return http.build(); return http.build();
} }*/
/** /**
* 添加-App登录-用户名和密码登陆验证的过滤器 * 添加-App登录-用户名和密码登陆验证的过滤器