diff options
| author | Adam Soltys <[email protected]> | 2023-05-15 10:20:52 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-05-15 10:20:52 -0700 |
| commit | 254597676393ae00d041f4d2f1c8760bf40ca5c7 (patch) | |
| tree | aa40d21383d33ee9e13a50a25e612d135c3fc337 /src/lib/utils.js | |
| parent | 4dcd19d314fc642dd88d84e6889339fc4a7cf06f (diff) | |
| download | coinos-ui-254597676393ae00d041f4d2f1c8760bf40ca5c7.tar.gz coinos-ui-254597676393ae00d041f4d2f1c8760bf40ca5c7.zip | |
increase cookie expiry
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 2 |
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', |
