File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/modules/ROOT/pages/servlet/authentication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ Java::
259259+
260260[source,java,role="primary"]
261261----
262- HeaderWriterLogoutHandler clearSiteData = new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter());
262+ HeaderWriterLogoutHandler clearSiteData = new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter(Directives.ALL ));
263263http
264264 .logout((logout) -> logout.addLogoutHandler(clearSiteData))
265265----
@@ -268,7 +268,7 @@ Kotlin::
268268+
269269[source,kotlin,role="secondary"]
270270----
271- val clearSiteData = HeaderWriterLogoutHandler(ClearSiteDataHeaderWriter())
271+ val clearSiteData = HeaderWriterLogoutHandler(ClearSiteDataHeaderWriter(Directives.ALL ))
272272http {
273273 logout {
274274 addLogoutHandler(clearSiteData)
You can’t perform that action at this time.
0 commit comments