From be6573f017f003eb06c87d4a3592cf9710d73b0c Mon Sep 17 00:00:00 2001 From: jwpark1211 <1211abc@naver.com> Date: Sat, 25 May 2024 03:12:01 +0900 Subject: [PATCH] fix : authenticated api --- src/main/java/capstone/bookitty/common/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/capstone/bookitty/common/SecurityConfig.java b/src/main/java/capstone/bookitty/common/SecurityConfig.java index b2722ce..b0156f6 100644 --- a/src/main/java/capstone/bookitty/common/SecurityConfig.java +++ b/src/main/java/capstone/bookitty/common/SecurityConfig.java @@ -45,7 +45,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { antMatcher("/members/new"), antMatcher("/members/email/**")).permitAll() //.requestMatchers(antMatcher("")).authenticated() - .anyRequest().permitAll()) + .anyRequest().authenticated()) .formLogin(AbstractHttpConfigurer::disable) .logout((logout) -> logout