Mailman3: minor updates

This commit is contained in:
Aurélien Bompard 2015-06-23 08:50:08 +00:00
parent 8d6b723267
commit bbd9414f8d
2 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,8 @@ urlpatterns = patterns('',
#url(r'^$', 'postorius.views.list_index'),
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}),
# BrowserID
url(r'', include('django_browserid.urls'), {"SSL": True}),
)

View file

@ -193,9 +193,9 @@ TEMPLATE_DIRS = (
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
LOGIN_URL = '/archives/accounts/login/'
LOGIN_REDIRECT_URL = '/archives/'
LOGIN_ERROR_URL = '/archives/accounts/login/'
LOGIN_URL = 'hk_user_login'
LOGOUT_URL = 'hk_user_logout'
LOGIN_REDIRECT_URL = 'hk_root'
BROWSERID_USERNAME_ALGO = lambda email: email # Use the email as identifier
BROWSERID_VERIFY_CLASS = "django_browserid.views.Verify"