mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
🐛 Fixing a bug. #2591 【报表设计】查询表单设计器不能正确加载
This commit is contained in:
1 parent
5dca7d2116
commit
b9afbad661
1 file changed
+4
-3
+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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user