Skip to content

Commit

Permalink
disable csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
zytfo committed Jan 15, 2024
1 parent f2155da commit 0aa39f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmyui/pygmyui/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 0aa39f7

Please sign in to comment.