We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e27657a commit 5ec62e9Copy full SHA for 5ec62e9
1 file changed
src/main/java/app/smartpot/api/security/config/SecurityConfiguration.java
@@ -72,7 +72,6 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSec) throws Exce
72
)
73
.cors(cors -> cors.configurationSource(corsConfig))
74
.authorizeHttpRequests(authorizationManagerRequestMatcherRegistry -> {
75
- authorizationManagerRequestMatcherRegistry.requestMatchers(org.springframework.http.HttpMethod.OPTIONS).permitAll();
76
authorizationManagerRequestMatcherRegistry.requestMatchers(publicRoutesList.toArray(new String[0])).permitAll();
77
authorizationManagerRequestMatcherRegistry.anyRequest().authenticated();
78
})
0 commit comments