Skip to content

Commit

Permalink
enable CsrfViewMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilshetye committed Mar 5, 2024
1 parent d334ea3 commit e9547fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/blocks/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'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 e9547fb

Please sign in to comment.