Browse Source

Mistake in Kotlin code representation is fixed

he1ex-tG 3 years ago
parent
commit
568277f8bc
1 changed files with 7 additions and 7 deletions
  1. 7 7
      docs/modules/ROOT/pages/servlet/authentication/logout.adoc

+ 7 - 7
docs/modules/ROOT/pages/servlet/authentication/logout.adoc

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