HyperKitty: follow upstream and disable the SSL middleware
This commit is contained in:
parent
dc12e602a7
commit
0b796aa763
2 changed files with 6 additions and 5 deletions
|
@ -19,7 +19,7 @@ urlpatterns = patterns('',
|
|||
url(r'^admin/', include('postorius.urls')),
|
||||
url(r'^archives/', include('hyperkitty.urls')),
|
||||
# Social Auth
|
||||
url(r'', include('social.apps.django_app.urls', namespace='social'), {"SSL": True}),
|
||||
url(r'', include('social.apps.django_app.urls', namespace='social')),
|
||||
# BrowserID
|
||||
url(r'', include('django_browserid.urls'), {"SSL": True}),
|
||||
url(r'', include('django_browserid.urls')),
|
||||
)
|
||||
|
|
|
@ -82,7 +82,7 @@ MIDDLEWARE_CLASSES = (
|
|||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
# Uncomment the next line for simple clickjacking protection:
|
||||
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
'hyperkitty.middleware.SSLRedirect',
|
||||
#'hyperkitty.middleware.SSLRedirect',
|
||||
'hyperkitty.middleware.TimezoneMiddleware',
|
||||
)
|
||||
|
||||
|
@ -382,8 +382,9 @@ APP_NAME = 'Fedora list archives'
|
|||
# By default, only a login through Persona or your email provider is allowed.
|
||||
USE_INTERNAL_AUTH = False
|
||||
|
||||
# Use SSL when logged in
|
||||
USE_SSL = True
|
||||
# Use SSL when logged in. You need to enable the SSLRedirect middleware for
|
||||
# this feature to work.
|
||||
#USE_SSL = True
|
||||
|
||||
# Only display mailing-lists from the same virtual host as the webserver
|
||||
FILTER_VHOST = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue