-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Mailman 3 Web build and configuration
Updated Mailman 3 Web Dockerfile to pin version numbers for various django- modules. Updated settings.py configuration to remove all social login providers. Updated login template file to remove links to social providers.
- Loading branch information
Showing
3 changed files
with
46 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| {% extends "account/base.html" %} | ||
|
|
||
| {% load i18n %} | ||
| {% load account socialaccount %} | ||
| {% load bootstrap_tags %} | ||
|
|
||
| {% block head_title %}{% trans "Sign In" %}{% endblock %} | ||
|
|
||
| {% block content %} | ||
|
|
||
| <h1>{% trans "Sign In" %}</h1> | ||
|
|
||
| {% include "django_mailman3/login_extra_top.html" %} | ||
|
|
||
| <form class="login form-horizontal" method="POST" action="{% url 'account_login' %}"> | ||
| {% bootstrap_form_horizontal form 2 4 %} | ||
| {% if redirect_field_value %} | ||
| <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> | ||
| {% endif %} | ||
| <div class="form-group"> | ||
| <div class="col-md-offset-2 col-md-4"> | ||
| <button class="btn btn-primary" type="submit">{% trans "Sign In" %}</button> | ||
| | ||
| <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> | ||
| </div> | ||
| </div> | ||
| </form> | ||
|
|
||
| {% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters