Skip to content

Commit

Permalink
Increase session validity for local users (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles authored Sep 18, 2023
1 parent b998ccb commit 594fa48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/controllers/user.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
/**
Expand Down

0 comments on commit 594fa48

Please sign in to comment.