Skip to content

Commit

Permalink
fix : 세션 정책 변경 IF_REQUIRED
Browse files Browse the repository at this point in the history
  • Loading branch information
dltjdgh0428 committed Mar 28, 2024
1 parent df90fb7 commit 27dd939
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 27dd939

Please sign in to comment.