Self hosted FLOSS fitness/workout, nutrition and weight tracker
Activate the middleware for simple clickjacking protection
Roland Geiderb2e204ded2e3
diff --git a/wger/settings_global.py b/wger/settings_global.pyindex 54ee19df3..3063563ca 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -135,7 +135,7 @@ MIDDLEWARE_CLASSES = ('django.contrib.auth.middleware.AuthenticationMiddleware','django.contrib.messages.middleware.MessageMiddleware',# Uncomment the next line for simple clickjacking protection:- # 'django.middleware.clickjacking.XFrameOptionsMiddleware',+ 'django.middleware.clickjacking.XFrameOptionsMiddleware','django.middleware.locale.LocaleMiddleware',)