mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Set SameSite=Strict attribute for ingress_session (#6556)
This commit is contained in:
parent
6c918e346b
commit
613470b44d
@ -71,7 +71,7 @@ export const createHassioSession = async (hass: HomeAssistant) => {
|
|||||||
"POST",
|
"POST",
|
||||||
"hassio/ingress/session"
|
"hassio/ingress/session"
|
||||||
);
|
);
|
||||||
document.cookie = `ingress_session=${response.data.session};path=/api/hassio_ingress/`;
|
document.cookie = `ingress_session=${response.data.session};path=/api/hassio_ingress/;SameSite=Strict`;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const setSupervisorOption = async (
|
export const setSupervisorOption = async (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user