Commit ab6b5d9c authored by Michal Čihař's avatar Michal Čihař

Enable protecting middleware (issue #131)

parent fcbeebdb
...@@ -150,6 +150,7 @@ MIDDLEWARE_CLASSES = ( ...@@ -150,6 +150,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'weblate.accounts.middleware.RequireLoginMiddleware',
) )
ROOT_URLCONF = 'weblate.urls' ROOT_URLCONF = 'weblate.urls'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment