Skip to content

Commit

Permalink
Add XFrameOptions middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Dec 1, 2020
1 parent 7ea2a08 commit 300fad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ureport/settings.py.prod
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ MIDDLEWARE = (
'django.contrib.messages.middleware.MessageMiddleware',
'smartmin.middleware.AjaxRedirect',
'django.middleware.locale.LocaleMiddleware',
"django.middleware.clickjacking.XFrameOptionsMiddleware",
'dash.orgs.middleware.SetOrgMiddleware',
)

Expand Down
1 change: 1 addition & 0 deletions ureport/settings.py.staging
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ MIDDLEWARE = (
'django.contrib.messages.middleware.MessageMiddleware',
'smartmin.middleware.AjaxRedirect',
'django.middleware.locale.LocaleMiddleware',
"django.middleware.clickjacking.XFrameOptionsMiddleware",
'dash.orgs.middleware.SetOrgMiddleware',
)

Expand Down

0 comments on commit 300fad4

Please sign in to comment.