Skip to content

Commit

Permalink
rename session cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jun 12, 2024
1 parent e3e7d96 commit 35d8aad
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 = "sessionid_httponly_true"
SESSION_COOKIE_NAME = "session"
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_AGE = 60 * 60
SESSION_COOKIE_SECURE = True
Expand Down

0 comments on commit 35d8aad

Please sign in to comment.