Skip to content

Commit

Permalink
Adding session cookie age
Browse files Browse the repository at this point in the history
  • Loading branch information
umermustafa committed Nov 25, 2023
1 parent 01bf9fa commit 60d180b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

ALLOWED_HOSTS = []

# Set session cookie age to 1 day (adjust as needed)
SESSION_COOKIE_AGE = 24 * 60 * 60


# Application definition

Expand Down

0 comments on commit 60d180b

Please sign in to comment.