csrf in settings
This commit is contained in:
parent
089fe7c7e6
commit
b2a41e7a80
@ -18,6 +18,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
AUTH_USER_MODEL = 'web.CustomUser'
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
'https://platform.sprinthub.ru',
|
||||
'https://platform.develop.sprinthub.ru',
|
||||
]
|
||||
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
|
||||
|
Loading…
Reference in New Issue
Block a user