From b254847e743fe3191eb973a97e9ffa17e5af6dfb Mon Sep 17 00:00:00 2001 From: minie4 Date: Thu, 12 Jan 2023 23:36:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Renew=20session=20tokens=20on=20?= =?UTF-8?q?api=20requests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/auth.js | 1 + 1 file changed, 1 insertion(+) 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(); }