From febc9a3bdd6d0248a5cb8525442b7549772fb41a Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Mon, 18 Sep 2023 11:06:03 +0200 Subject: [PATCH] Increase session validity for local users --- 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) { /**