aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-05-15 10:20:52 -0700
committerAdam Soltys <[email protected]>2023-05-15 10:20:52 -0700
commit4e02fbdff1ed48327c9ed688bac214b84d487c93 (patch)
treeaa40d21383d33ee9e13a50a25e612d135c3fc337 /src
parent27463394dec738c1a566b72cce27cfdfa5361142 (diff)
downloadcoinos-ui-4e02fbdff1ed48327c9ed688bac214b84d487c93.tar.gz
coinos-ui-4e02fbdff1ed48327c9ed688bac214b84d487c93.zip
increase cookie expirynfc
Diffstat (limited to 'src')
-rw-r--r--src/lib/utils.js2
1 files changed, 1 insertions, 1 deletions
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',