Skip to content

Commit a625b4f

Browse files
committed
OS-105: added session cookie validity for 8 hours
1 parent 40d4893 commit a625b4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openIMIS/openIMIS/settings/security.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
# CSRF settings
9393
CSRF_COOKIE_SECURE = True
9494
SESSION_COOKIE_SECURE = True
95+
# session cookie validity = 8 hours
96+
SESSION_COOKIE_AGE = 28800
9597

9698
# CORS settings
9799
CORS_ALLOW_CREDENTIALS = True

0 commit comments

Comments
 (0)