Skip to content

Commit

Permalink
Add SESSION_COOKIE_AGE
Browse files Browse the repository at this point in the history
  • Loading branch information
edlouth committed Nov 16, 2023
1 parent d6506b0 commit e818d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grai-server/app/the_guide/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def inner(value: str | bool) -> bool:
CORS_ALLOW_CREDENTIALS = True
CSRF_COOKIE_HTTPONLY = True
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_AGE = config("SESSION_COOKIE_AGE", 1209600)

STORAGES = {
"default": {
Expand Down

0 comments on commit e818d9c

Please sign in to comment.