mirror of
https://github.com/wireadmin/wireadmin
synced 2025-05-07 05:24:30 +00:00
fix: Cookies not being set due to not using HTTPS
This commit is contained in:
parent
93a923acf8
commit
9c7b7317c1
@ -43,6 +43,7 @@ export const actions: Actions = {
|
|||||||
cookies.set(AUTH_COOKIE, token, {
|
cookies.set(AUTH_COOKIE, token, {
|
||||||
maxAge: hour,
|
maxAge: hour,
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
|
secure: false,
|
||||||
path: '/',
|
path: '/',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user