From 4f7aa2fb12c67dbf6b45d3fa3bdb9af5f1e68efa Mon Sep 17 00:00:00 2001 From: mahdavi Date: Tue, 2 Jul 2024 14:51:22 +0330 Subject: [PATCH] csrf trusted --- accounts/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/settings.py b/accounts/settings.py index dcc43f6..35a9fb6 100644 --- a/accounts/settings.py +++ b/accounts/settings.py @@ -235,7 +235,7 @@ SPECTACULAR_SETTINGS = { AUTH_USER_MODEL = 'users.User' CORS_ORIGIN_ALLOW_ALL = True -CSRF_TRUSTED_ORIGINS = ['http://*.boostanweb.ir', 'https://*.boostanweb.ir'] +CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com'] JALALI_DATE_DEFAULTS = { 'Strftime': {