diff --git a/src/main/java/com/sideProject/PlanIT/config/SecurityConfig.java b/src/main/java/com/sideProject/PlanIT/config/SecurityConfig.java index 02df258..1e4b6e2 100644 --- a/src/main/java/com/sideProject/PlanIT/config/SecurityConfig.java +++ b/src/main/java/com/sideProject/PlanIT/config/SecurityConfig.java @@ -61,8 +61,8 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) { .authorizeHttpRequests((authorizeRequests) -> authorizeRequests .requestMatchers("/member/signin", "/member/signup", "member/refresh").permitAll() .requestMatchers("/admin/**").hasAnyAuthority("ADMIN") -// .anyRequest().authenticated() - .anyRequest().permitAll() + .anyRequest().authenticated() + // .anyRequest().permitAll() ) .addFilterBefore(jwtTokenFilter, UsernamePasswordAuthenticationFilter.class)