浏览代码

Fix logout code snippet for Kotlin: Corrected deleteCookies syntax

mskim 8 月之前
父节点
当前提交
0e3cfd1efb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/modules/ROOT/pages/servlet/authentication/logout.adoc

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

@@ -226,7 +226,7 @@ Kotlin::
 ----
 http {
     logout {
-        deleteCookies = "our-custom-cookie"
+        deleteCookies("our-custom-cookie")
     }
 }
 ----