mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 07:41:13 +00:00
remove expires
This commit is contained in:
parent
7d2a5ebdcb
commit
28e885d599
1 changed files with 0 additions and 1 deletions
|
@ -3,7 +3,6 @@ import { authCookieName } from "../../config";
|
||||||
|
|
||||||
export default function clearAuthCookie() {
|
export default function clearAuthCookie() {
|
||||||
document.cookie = cookie.serialize(authCookieName, "", {
|
document.cookie = cookie.serialize(authCookieName, "", {
|
||||||
expires: new Date("Thu, 01 Jan 1970 00:00:01 GMT"),
|
|
||||||
maxAge: -1,
|
maxAge: -1,
|
||||||
sameSite: true,
|
sameSite: true,
|
||||||
path: "/",
|
path: "/",
|
||||||
|
|
Loading…
Reference in a new issue