BAEL-89 remove csrf disable
This commit is contained in:
parent
9938a1a0c7
commit
f821eca9b4
|
@ -16,6 +16,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
.sessionManagement()
|
.sessionManagement()
|
||||||
.sessionCreationPolicy(SessionCreationPolicy.NEVER)
|
.sessionCreationPolicy(SessionCreationPolicy.NEVER)
|
||||||
.and()
|
.and()
|
||||||
.authorizeRequests().anyRequest().hasRole("ADMIN").and();
|
.authorizeRequests().anyRequest().hasRole("ADMIN");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue