Skip to content

Commit

Permalink
rename cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jun 13, 2024
1 parent 35d8aad commit c4bf178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeforlife/settings/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_databases(base_dir: Path): # pragma: no cover
SESSION_ENGINE = "codeforlife.user.models.session"
SESSION_SAVE_EVERY_REQUEST = True
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_COOKIE_NAME = "session"
SESSION_COOKIE_NAME = "session_key"
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_AGE = 60 * 60
SESSION_COOKIE_SECURE = True
Expand Down

0 comments on commit c4bf178

Please sign in to comment.