Skip to content

Commit efecb7d

Browse files
authored
[Refactor]: SecurityConfig permitAll 복구 (#271)
1 parent b9d2cb6 commit efecb7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/backend/global/security/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
5151
.requestMatchers("/uploads/**").permitAll()
5252
.requestMatchers("/api/*/test-data/**").permitAll()
5353

54-
.anyRequest().permitAll() // 임시 허용 authenticated()로 고칠 것
54+
.anyRequest().authenticated()
5555
)
5656
.headers(headers -> headers.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin))
5757
.addFilterBefore(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)

0 commit comments

Comments
 (0)