Browse Source

Add click-jacking protection.

master
Nick Sergeant 6 years ago
parent
commit
79d077def9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      settings.py

+ 1
- 0
settings.py View File

@@ -127,6 +127,7 @@ LOGGING = {
}
MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',


Loading…
Cancel
Save