Skip to content

Commit

Permalink
Make cookie domain configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-c committed Jan 22, 2024
1 parent 988eb99 commit 10170aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class BaseConfig(object):
SESSION_COOKIE_SECURE = SYSTEM_TYPE.lower() != 'development'

SESSION_COOKIE_SAMESITE = os.environ.get('SESSION_COOKIE_SAMESITE', 'Lax')
SESSION_COOKIE_DOMAIN = os.environ.get('SESSION_COOKIE_DOMAIN', SERVER_NAME)
PREFERRED_URL_SCHEME = os.environ.get('PREFERRED_URL_SCHEME', 'http')

BABEL_CONFIG_FILENAME = 'gil.babel.cfg'
Expand Down

0 comments on commit 10170aa

Please sign in to comment.