aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils.js')
-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 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', {