change CSRF domain
This commit is contained in:
parent
2579d4fca7
commit
89fe2569f6
Binary file not shown.
@ -77,24 +77,24 @@ MIDDLEWARE = [
|
||||
#CORS_ALLOW_CREDENTIALS = True
|
||||
#CSRF_COOKIE_SECURE = True
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://argideli.com",
|
||||
"https://dash.argideli.com",
|
||||
"https://*.argideli.com/*",
|
||||
"https://*.argideli.com/*/*",
|
||||
"https://*.argideli.com/*/*/*",
|
||||
"https://*.argideli.com/*/*/*/*",
|
||||
"https://*.argideli.com/*/*/*/*/*",
|
||||
"https://*.argideli.com/*/*/*/*/*/*",
|
||||
"https://*.argideli.com/*/*/*/*/*/*",
|
||||
"https://spitiglykou.gr",
|
||||
"https://dash.spitiglykou.gr",
|
||||
"https://*.spitiglykou.gr/*",
|
||||
"https://*.spitiglykou.gr/*/*",
|
||||
"https://*.spitiglykou.gr/*/*/*",
|
||||
"https://*.spitiglykou.gr/*/*/*/*",
|
||||
"https://*.spitiglykou.gr/*/*/*/*/*",
|
||||
"https://*.spitiglykou.gr/*/*/*/*/*/*",
|
||||
"https://*.spitiglykou.gr/*/*/*/*/*/*",
|
||||
]
|
||||
|
||||
#CSRF_COOKIE_DOMAIN = [
|
||||
# 'https://argideli.com',
|
||||
# 'https://dash.argideli.com']
|
||||
# 'https://spitiglykou.gr',
|
||||
# 'https://dash.spitiglykou.gr']
|
||||
#CSRF_COOKIE_NAME = "XSRF-TOKEN"
|
||||
#CSRF_COOKIE_NAME = "csrftoken"
|
||||
#CSRF_COOKIE_PATH = ['https://argideli.com', 'https://dash.argideli.com']
|
||||
#SESSION_COOKIE_DOMAIN = ['https://argideli.com', 'https://dash.argideli.com']
|
||||
#CSRF_COOKIE_PATH = ['https://spitiglykou.gr', 'https://dash.spitiglykou.gr']
|
||||
#SESSION_COOKIE_DOMAIN = ['https://spitiglykou.gr', 'https://dash.spitiglykou.gr']
|
||||
|
||||
ROOT_URLCONF = 'SpitiGlykou.urls'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user