Skip to content

Commit

Permalink
Make /error public
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch committed Jan 8, 2025
1 parent fdfbd2e commit 600f0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/pivotal/cla/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ DefaultSecurityFilterChain springSecurity(HttpSecurity http) throws Exception {
.authorizeHttpRequests(requests -> requests
.requestMatchers(EndpointRequest.toAnyEndpoint()).hasRole("CLA_AUTHOR")
.requestMatchers(CorsUtils::isPreFlightRequest).permitAll()
.requestMatchers("/login/**", "/", "/about", "/faq").permitAll()
.requestMatchers("/login/**", "/", "/about", "/faq", "/error").permitAll()
.requestMatchers("/view/**").permitAll()
.requestMatchers("/webjars/**", "/assets/**").permitAll()
.requestMatchers("/github/hooks/**").permitAll()
Expand Down

0 comments on commit 600f0a8

Please sign in to comment.