Skip to content

Commit

Permalink
fix:移除csrf保护
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyumc committed Oct 4, 2024
1 parent 37a4733 commit e92cc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jyy_slide_web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
# "django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
Expand Down

0 comments on commit e92cc49

Please sign in to comment.