From e63861ce9beeda70eeca5c4313f3bb793b60b754 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Mon, 23 Jun 2025 14:58:10 -0700 Subject: [PATCH] Remove all data after logout Signed-off-by: Bryan Frimin --- pkg/server/api/console/v1/sign_out_handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/server/api/console/v1/sign_out_handler.go b/pkg/server/api/console/v1/sign_out_handler.go index 90400fa29..02365d6ea 100644 --- a/pkg/server/api/console/v1/sign_out_handler.go +++ b/pkg/server/api/console/v1/sign_out_handler.go @@ -52,6 +52,8 @@ func SignOutHandler(usrmgrSvc *usrmgr.Service, authCfg AuthConfig) http.HandlerF authCfg.CookieSecret, )) + w.Header().Set("Clear-Site-Data", "*") + httpserver.RenderJSON(w, http.StatusOK, map[string]bool{"success": true}) } }