diff --git a/server/api/auth.js b/server/api/auth.js index 1a5a3b7..e54fd36 100644 --- a/server/api/auth.js +++ b/server/api/auth.js @@ -98,6 +98,7 @@ async function checkLogin(req, res, next) { res.sendStatus(401); return; } + renewSession(session); next(); }