redirect to SSL
This commit is contained in:
@@ -25,12 +25,17 @@ SECRET_KEY = os.environ['SECRET_KEY']
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
'localhost',
|
||||
'dtd-fincom.herokuapp.com',
|
||||
'fincom.delt.space',
|
||||
]
|
||||
|
||||
SECURE_SSL_REDIRECT = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
'social_core.backends.google.GoogleOAuth2',
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
|
||||
Reference in New Issue
Block a user