]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/Utils.js
utils: add inline comment about cookie set-for-clear
[proxmox-widget-toolkit.git] / src / Utils.js
index 52cc626f1438b6bf1023e5b109cc5b5ecebe07c1..6a03057a704943539b90ed58dfb3d0b05ecf7883 100644 (file)
@@ -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");
     },