From 27dd939aa33058e79614c4472b0978d9919259d1 Mon Sep 17 00:00:00 2001 From: dltjdgh0428 Date: Thu, 28 Mar 2024 23:57:24 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=84=B8=EC=85=98=20=EC=A0=95?= =?UTF-8?q?=EC=B1=85=20=EB=B3=80=EA=B2=BD=20IF=5FREQUIRED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/book_everywhere/auth/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/book_everywhere/auth/config/SecurityConfig.java b/src/main/java/com/book_everywhere/auth/config/SecurityConfig.java index 362c0b8..29f37ff 100644 --- a/src/main/java/com/book_everywhere/auth/config/SecurityConfig.java +++ b/src/main/java/com/book_everywhere/auth/config/SecurityConfig.java @@ -51,7 +51,7 @@ public SecurityFilterChain filterChain(HttpSecurity http, HandlerMappingIntrospe http .sessionManagement(sessionManagement -> - sessionManagement.sessionCreationPolicy(SessionCreationPolicy.ALWAYS) + sessionManagement.sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED) ) .cors(cors -> cors.configurationSource(corsConfigurationSource())) .csrf(AbstractHttpConfigurer::disable)