remove expires

This commit is contained in:
Alec Armbruster 2023-07-04 11:56:51 -04:00
parent 7d2a5ebdcb
commit 28e885d599
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B

View file

@ -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: "/",