Skip to content

Commit

Permalink
Merge pull request #1654 from Pratik2026/gad-5
Browse files Browse the repository at this point in the history
feat: Added session expired logout feature
  • Loading branch information
dvjsharma authored Nov 19, 2024
2 parents c5d662e + 0133a00 commit 1ad828d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FusionIIIT/Fusion/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,3 +284,8 @@

CORS_ORIGIN_ALLOW_ALL = True
ALLOW_PASS_RESET = True

# session settings
SESSION_COOKIE_AGE = 15 * 60
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_SAVE_EVERY_REQUEST = True

0 comments on commit 1ad828d

Please sign in to comment.