diff --git a/back-end/src/main/java/com/example/demo/security/config/WebSecurityConfig.java b/back-end/src/main/java/com/example/demo/security/config/WebSecurityConfig.java index ecc18f6a..0dea5730 100644 --- a/back-end/src/main/java/com/example/demo/security/config/WebSecurityConfig.java +++ b/back-end/src/main/java/com/example/demo/security/config/WebSecurityConfig.java @@ -40,9 +40,6 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti .csrf(AbstractHttpConfigurer::disable) .authorizeHttpRequests(authz -> authz - .requestMatchers("/api/v*/registration/**", "/api/v*/news/**", "/api/v*/gallery/**", - "/api/v*/files/**", "/api/v*/registration/login/**", ) - .requestMatchers("/api/v*/registration/**", "/api/v1/news/**", "/api/v1/gallery/**", "/api/v*/files/**", "/api/v*/registration/login/**", "/api/v1/tasks/**", "/api/v1/users/**", "/deliverable/**")