Mailman3: minor updates
This commit is contained in:
parent
8d6b723267
commit
bbd9414f8d
2 changed files with 5 additions and 3 deletions
|
@ -18,6 +18,8 @@ urlpatterns = patterns('',
|
||||||
#url(r'^$', 'postorius.views.list_index'),
|
#url(r'^$', 'postorius.views.list_index'),
|
||||||
url(r'^admin/', include('postorius.urls')),
|
url(r'^admin/', include('postorius.urls')),
|
||||||
url(r'^archives/', include('hyperkitty.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'), {"SSL": True}),
|
||||||
|
# BrowserID
|
||||||
url(r'', include('django_browserid.urls'), {"SSL": True}),
|
url(r'', include('django_browserid.urls'), {"SSL": True}),
|
||||||
)
|
)
|
||||||
|
|
|
@ -193,9 +193,9 @@ TEMPLATE_DIRS = (
|
||||||
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
|
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
|
||||||
|
|
||||||
|
|
||||||
LOGIN_URL = '/archives/accounts/login/'
|
LOGIN_URL = 'hk_user_login'
|
||||||
LOGIN_REDIRECT_URL = '/archives/'
|
LOGOUT_URL = 'hk_user_logout'
|
||||||
LOGIN_ERROR_URL = '/archives/accounts/login/'
|
LOGIN_REDIRECT_URL = 'hk_root'
|
||||||
|
|
||||||
BROWSERID_USERNAME_ALGO = lambda email: email # Use the email as identifier
|
BROWSERID_USERNAME_ALGO = lambda email: email # Use the email as identifier
|
||||||
BROWSERID_VERIFY_CLASS = "django_browserid.views.Verify"
|
BROWSERID_VERIFY_CLASS = "django_browserid.views.Verify"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue