Skip to content

Commit

Permalink
fix: 修复 csrf token 不一致的问题 --story=119850966
Browse files Browse the repository at this point in the history
  • Loading branch information
benero committed Oct 8, 2024
1 parent 8520de3 commit 1af8b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itsm/sites/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
)

Expand Down

0 comments on commit 1af8b2c

Please sign in to comment.