utils: clear cookies with secure flag set
otherwise firefox complains with a deprecation warning that the secure-flag is not set but SameSite to 'None'. Since we cannot know how firefox will behave once that behaviour is no longer supported, add the secure flag now. Note: ExtJS also clears by setting the cookie with an empty value, there's no browser supported clear api. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
9716d0def1
commit
c1a3584103
@ -306,7 +306,7 @@ utilities: {
|
||||
if (Proxmox.LoggedOut) {
|
||||
return;
|
||||
}
|
||||
Ext.util.Cookies.clear(Proxmox.Setup.auth_cookie_name);
|
||||
Ext.util.Cookies.set(Proxmox.Setup.auth_cookie_name, "", new Date(0), null, null, true);
|
||||
window.localStorage.removeItem("ProxmoxUser");
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user