Skip to content

Commit

Permalink
modify :: cors
Browse files Browse the repository at this point in the history
  • Loading branch information
meltapplee committed Nov 8, 2024
1 parent edb153c commit f114e8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/org/meogo/global/config/SecurityConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class SecurityConfig(
http
.csrf()
.disable()
.formLogin().and().cors()
.disable()
.formLogin().and().cors().and()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS)

Expand Down

0 comments on commit f114e8a

Please sign in to comment.