Skip to content

Commit

Permalink
Merge 5104c74 into d210f3f
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Nov 23, 2023
2 parents d210f3f + 5104c74 commit ca3e0cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions greenwave/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ class Config(object):
"ca_certs": "/etc/pki/umb/umb-ca",
}

# Secure cookies
PERMANENT_SESSION_LIFETIME = 300
SESSION_COOKIE_NAME = "session"
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_SAMESITE = "Lax"


class ProductionConfig(Config):
DEBUG = False
Expand Down

0 comments on commit ca3e0cf

Please sign in to comment.