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 e4b1194f..2b5dda90 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -137,7 +137,7 @@ export const login = async (user, cookies) => {
let expires = new Date();
expires.setSeconds(expires.getSeconds() + maxAge);
- let opts = { path: '/', expires }
+ let opts = { path: '/', expires };
cookies.set('username', user.username, opts);
cookies.set('token', token, opts);
};