Skip to content

Commit

Permalink
Remove XorCsrfTokenRequestAttributeHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed May 27, 2024
1 parent 90744b5 commit f28d592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/ch/wisv/events/ChConnectConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.logoutSuccessUrl("/")
)
.csrf(csrf -> csrf
.csrfTokenRequestHandler(new XorCsrfTokenRequestAttributeHandler())
.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
.ignoringRequestMatchers("/api/v1/**", "/checkout")
)
Expand Down

0 comments on commit f28d592

Please sign in to comment.