From 1a9397d906cd131059d6d46817ca494d3401d639 Mon Sep 17 00:00:00 2001 From: Sayyid Hamid Mahdavi Date: Tue, 3 Feb 2026 13:38:14 +0330 Subject: [PATCH] csrf --- accounts/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/settings.py b/accounts/settings.py index 1f59904..8eaf00a 100644 --- a/accounts/settings.py +++ b/accounts/settings.py @@ -260,7 +260,7 @@ CRISPY_TEMPLATE_PACK = "bootstrap5" AUTH_USER_MODEL = 'users.User' CORS_ORIGIN_ALLOW_ALL = True CORS_ALLOW_ALL_ORIGINS = True -CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com'] +CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com', 'http://*.gooyal.ir', 'https://*.gooyal.ir'] JALALI_DATE_DEFAULTS = { 'Strftime': {