From 1af8b2cadd12aaaecfadb0be21918a801a2be152 Mon Sep 17 00:00:00 2001 From: benero Date: Tue, 8 Oct 2024 12:18:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20csrf=20token=20?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98=20--stor?= =?UTF-8?q?y=3D119850966?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- itsm/sites/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itsm/sites/views.py b/itsm/sites/views.py index 02fc3344..e7706119 100644 --- a/itsm/sites/views.py +++ b/itsm/sites/views.py @@ -138,7 +138,7 @@ def index(request): "BK_SHARED_RES_URL": settings.BK_SHARED_RES_URL, "BK_PLATFORM_NAME": settings.BK_PLATFORM_NAME, "VERSION": get_version(), - "CSRF_COOKIE_NAME": settings.CSRF_COOKIE_NAME, + "BKAPP_CSRF_COOKIE_NAME": settings.CSRF_COOKIE_NAME, }, )