🐛 Fixing a bug. #2591 【报表设计】查询表单设计器不能正确加载

This commit is contained in:
lengleng committed 2021-04-07 15:01:39 +08:00
1 parent 5dca7d2116
commit b9afbad661
1 file changed
+4 -3
@@ -43,9 +43,10 @@ public class WebSecurityConfigurer extends WebSecurityConfigurerAdapter {
@Override
@SneakyThrows
protected void configure(HttpSecurity http) {
http.formLogin().loginPage("/login.html").loginProcessingUrl("/login").failureHandler(new LoginFailureHandler())
.and().authorizeRequests().antMatchers("/login.html", "/login", "/actuator/**").permitAll().anyRequest()
.authenticated().and().csrf().disable();
http.headers().frameOptions().disable().and().formLogin().loginPage("/login.html").loginProcessingUrl("/login")
.failureHandler(new LoginFailureHandler()).and().authorizeRequests()
.antMatchers("/login.html", "/login", "/actuator/**").permitAll().anyRequest().authenticated().and()
.csrf().disable();
}
/**