Skip to content

Commit fdb2d1d

Browse files
authored
[MRG] Merge pull request dfir-iris#667 from FideliusFalcon/develop
[dfir-iris#665][ADD] Load IRIS_SESSION_TIMEOUT as an integer
2 parents f4d23b1 + d6e4509 commit fdb2d1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/app/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class Config:
288288
IRIS_ADM_USERNAME = config.load('IRIS', 'ADM_USERNAME')
289289
IRIS_ADM_API_KEY = config.load('IRIS', 'ADM_API_KEY')
290290

291-
PERMANENT_SESSION_LIFETIME = timedelta(minutes=config.load('IRIS', 'SESSION_TIMEOUT', fallback=1440))
291+
PERMANENT_SESSION_LIFETIME = timedelta(minutes=int(config.load('IRIS', 'SESSION_TIMEOUT', fallback=1440)))
292292
SESSION_COOKIE_SAMESITE = 'Lax'
293293
SESSION_COOKIE_SECURE = True
294294
MFA_ENABLED = config.load('IRIS', 'MFA_ENABLED', fallback=False) == 'True'

0 commit comments

Comments
 (0)