diff --git a/setup.py b/setup.py index fd3963b..0ae9bdf 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,6 @@ package_dir={'': 'src'}, include_package_data=True, install_requires=['django>=1.5', - 'django-social-auth>=0.7.8', + 'django-browserid', 'mailmanclient'] ) diff --git a/src/postorius/doc/news.rst b/src/postorius/doc/news.rst index fc904da..0624f50 100644 --- a/src/postorius/doc/news.rst +++ b/src/postorius/doc/news.rst @@ -35,6 +35,7 @@ * Fix broken translation string on the login page. Contributed by Pranjal Yadav. * Show held message details in a modal window. Contributed by Abhilash Raj (LP: 1004049). * Rework of internal testing +* Mozilla Persona integration: switch from django-social-auto to django-browserid: Contributed by Abhilash Raj. 1.0 beta 1 -- "Year of the Parrot" ================================== diff --git a/src/postorius/templates/postorius/login.html b/src/postorius/templates/postorius/login.html index 236e477..a139223 100644 --- a/src/postorius/templates/postorius/login.html +++ b/src/postorius/templates/postorius/login.html @@ -2,8 +2,10 @@ {% load url from future %} {% load i18n %} {% load staticfiles %} +{% load browserid %} {% block main %} +{% browserid_info %}
{% trans "Login with username and password or with Mozilla Persona" %}
@@ -17,15 +19,18 @@{% trans "Mozilla Persona is an easy way to sign into multiple websites, while still controlling your personal data. For more information see the Mozilla website" %}.
- + + + +{% trans "Mozilla Persona is an easy way to sign into multiple websites, while still controlling your personal data. For more information see the Mozilla website" %}. +
+