Browse Source

Remove CSRF from settings, do in local.

master
Nick Sergeant 6 years ago
parent
commit
bdde0545af
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      settings.py

+ 0
- 2
settings.py View File

@@ -32,8 +32,6 @@ ALLOWED_HOSTS = ['*']
AUTH_PROFILE_MODULE = 'accounts.UserProfile'
AUTHENTICATION_BACKENDS = ('utils.backends.EmailOrUsernameModelBackend',)
BASE_PATH = os.path.dirname(__file__)
CSRF_COOKIE_DOMAIN = 'snipt.net' if 'USE_SSL' in os.environ else False
CSRF_COOKIE_SECURE = True if 'USE_SSL' in os.environ else False
DEBUG = True if 'DEBUG' in os.environ else False
DEFAULT_FROM_EMAIL = 'support@snipt.net'
EMAIL_BACKEND = 'postmark.django_backend.EmailBackend'


Loading…
Cancel
Save