From 4e02fbdff1ed48327c9ed688bac214b84d487c93 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 15 May 2023 10:20:52 -0700 Subject: increase cookie expiry --- src/lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/utils.js') diff --git a/src/lib/utils.js b/src/lib/utils.js index a91ef639..35046bd5 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -121,7 +121,7 @@ export let info = (m) => { }; export let login = async (user, cookies) => { - let maxAge = 30 * 24 * 60 * 60; + let maxAge = 380 * 24 * 60 * 60; let res = await fetch(base + '/login', { method: 'POST', -- cgit v1.2.3