Remove all data after logout
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user