Skip to content

Commit

Permalink
Session cookie domain
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzenghu committed Mar 18, 2016
1 parent bb542e9 commit 692c009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class BaseConfig(object):

COOKIE_DOMAIN = 'localhost'
REMEMBER_COOKIE_DOMAIN = COOKIE_DOMAIN
SESSION_COOKIE_DOMAIN = COOKIE_DOMAIN

CELERY_BROKER_URL = 'librabbitmq://admin:password@localhost/dive'
CELERY_RESULT_BACKEND = 'amqp'
Expand Down Expand Up @@ -70,7 +71,8 @@ class ProductionConfig(BaseConfig):
RECOMPUTE_STATISTICS = False

COOKIE_DOMAIN = '.usedive.com'
REMEMBER_COOKIE_DOMAIN = COOKIE_DOMAIN
REMEMBER_COOKIE_DOMAIN = COOKIE_DOMAIN
SESSION_COOKIE_DOMAIN = COOKIE_DOMAIN

COMPRESS = False

Expand Down

0 comments on commit 692c009

Please sign in to comment.