Skip to content

Commit

Permalink
Merge pull request #1421 from TencentBlueKing/fix_csrf_cookie
Browse files Browse the repository at this point in the history
fix: 修复 csrf token 不一致的问题 --story=119850966
  • Loading branch information
benero authored Oct 8, 2024
2 parents 8520de3 + 1af8b2c commit c8d3adb
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 c8d3adb

Please sign in to comment.