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.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js
index 43e77022..8b3e8070 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -120,6 +120,7 @@ export const info = (m) => {
export const login = async (user, cookies) => {
let maxAge = 30 * 24 * 60 * 60;
+
let res = await fetch(base + '/login', {
method: 'POST',
body: JSON.stringify(user),