]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
utils: clear cookies with secure flag set
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 18 Mar 2022 10:00:11 +0000 (11:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Mar 2022 14:56:20 +0000 (15:56 +0100)
commitc1a3584103284a328fe263264de28de987dab51c
tree10cbcfca9072522e8a8c713c304ef525989c86f8
parent9716d0def108a53754ea80f8e753e32ec7844073
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>
src/Utils.js