]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
toolkit/utils: set SameSite attr of auth cookie to 'strict'
authorMax Carrara <m.carrara@proxmox.com>
Wed, 15 Mar 2023 16:26:27 +0000 (17:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 15:11:42 +0000 (17:11 +0200)
commitaec7e8d23c5456b97e15f61b969c7ca895174909
tree134919151b866c78448bdd8cee25180303321bb7
parent95fa855701211521ef7df6541487b81936177105
toolkit/utils: set SameSite attr of auth cookie to 'strict'

Overrides 'Ext.util.Cookies', optionally allowing the SameSite
attribute of cookies to be defined. Using this override, the SameSite
attribute of the auth cookie is now set to 'strict', prohibiting the
cookie from being sent along in cross-site sub-requests or when the
user navigates to a different site.

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
src/Toolkit.js
src/Utils.js