From 594fa4866455e5b12d24d725113fc560fa8dd1c2 Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Mon, 18 Sep 2023 11:50:08 +0200 Subject: [PATCH] Increase session validity for local users (#1882) --- server/api/controllers/user.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/controllers/user.controller.js b/server/api/controllers/user.controller.js index 5e59c84ef2..c8ed71a5dc 100644 --- a/server/api/controllers/user.controller.js +++ b/server/api/controllers/user.controller.js @@ -2,7 +2,7 @@ const asyncMiddleware = require('../middlewares/asyncMiddleware'); const logger = require('../../utils/logger'); const { BadParameters } = require('../../utils/coreErrors'); -const LOGIN_SESSION_VALIDITY_IN_SECONDS = 30 * 24 * 60 * 60; +const LOGIN_SESSION_VALIDITY_IN_SECONDS = 365 * 24 * 60 * 60; module.exports = function UserController(gladys) { /**