mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-10 16:31:46 +00:00
utils: add inline comment about cookie set-for-clear
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c1a3584103
commit
96fb7eaacd
@ -306,6 +306,7 @@ utilities: {
|
||||
if (Proxmox.LoggedOut) {
|
||||
return;
|
||||
}
|
||||
// ExtJS clear is basically the same, but browser may complain if any cookie isn't "secure"
|
||||
Ext.util.Cookies.set(Proxmox.Setup.auth_cookie_name, "", new Date(0), null, null, true);
|
||||
window.localStorage.removeItem("ProxmoxUser");
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user