diff options
| author | Adam Soltys <[email protected]> | 2023-05-16 09:47:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-05-16 09:47:54 -0700 |
| commit | 6922e031a09a9896107189989c29e262780828e3 (patch) | |
| tree | 80b718d634bca8a5cd1cdaebccebff993b70a8dc /src/lib/utils.js | |
| parent | 07c26060d42616edda9f945652e8285cf6ec3b91 (diff) | |
| download | coinos-ui-6922e031a09a9896107189989c29e262780828e3.tar.gz coinos-ui-6922e031a09a9896107189989c29e262780828e3.zip | |
fix login issue
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 3441556f..52494c88 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -126,7 +126,7 @@ export let info = (m) => { }); }; -export let login = async (user, cookies) => { +export let login = async (user, cookies, ip) => { let maxAge = 380 * 24 * 60 * 60; let res = await fetch(base + '/login', { |
