summaryrefslogtreecommitdiff
path: root/sw-server/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2023-07-05 15:53:48 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2023-07-05 15:59:53 +0200
commit1fc51e8e436e6a92eba58ed6833c0d479c26790c (patch)
tree7408523168f6eeabb9568213f1e40721a55abe49 /sw-server/src
parentUpgrade logback classic to 1.4.8 (diff)
downloadseven-wonders-1fc51e8e436e6a92eba58ed6833c0d479c26790c.tar.gz
seven-wonders-1fc51e8e436e6a92eba58ed6833c0d479c26790c.tar.bz2
seven-wonders-1fc51e8e436e6a92eba58ed6833c0d479c26790c.zip
Upgrade Spring to 3.1.1
Diffstat (limited to 'sw-server/src')
-rw-r--r--sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebSecurityConfig.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebSecurityConfig.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebSecurityConfig.kt
index f590c1e7..4b44e2f1 100644
--- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebSecurityConfig.kt
+++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/WebSecurityConfig.kt
@@ -10,5 +10,5 @@ class WebSecurityConfig {
// this disables default authentication settings
@Bean
- fun filterChain(http: HttpSecurity): SecurityFilterChain? = http.cors().and().csrf().disable().build()
+ fun filterChain(http: HttpSecurity): SecurityFilterChain? = http.cors {}.csrf { it.disable() }.build()
}
bgstack15