Commit 55de9f88 by Patryk Czarnik

przywrócenie CSRF

parent d0008c2f
......@@ -13,8 +13,7 @@ public class SecurityConfig {
@Bean
SecurityFilterChain setHttpSecurity(HttpSecurity httpSecurity) throws Exception {
httpSecurity.authorizeRequests()
.anyRequest().permitAll()
.and().csrf().disable();
.anyRequest().permitAll();
return httpSecurity.build();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment