Mistake in Kotlin code representation is fixed

This commit is contained in:
he1ex-tG 2022-08-25 22:26:32 +05:00 committed by Steve Riesenberg
parent 0f58620643
commit 568277f8bc
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 7 additions and 7 deletions

View File

@ -38,13 +38,13 @@ public SecurityFilterChain filterChain(HttpSecurity http) {
----- -----
open fun filterChain(http: HttpSecurity): SecurityFilterChain { open fun filterChain(http: HttpSecurity): SecurityFilterChain {
http { http {
logout { logout { // <1>
logoutUrl = "/my/logout" // <1> logoutUrl = "/my/logout" // <2>
logoutSuccessUrl = "/my/index" // <2> logoutSuccessUrl = "/my/index" // <3>
logoutSuccessHandler = customLogoutSuccessHandler // <3> logoutSuccessHandler = customLogoutSuccessHandler // <4>
invalidateHttpSession = true // <4> invalidateHttpSession = true // <5>
addLogoutHandler(logoutHandler) // <5> addLogoutHandler(logoutHandler) // <6>
deleteCookies(cookieNamesToClear) // <6> deleteCookies(cookieNamesToClear) // <7>
} }
} }
// ... // ...