-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change password form fixes and clean up (#1111)
* Add set password form (fixes #1110) * Simplify and minimize django-allauth customization * Use standard Django password validator for min length
- Loading branch information
Showing
9 changed files
with
70 additions
and
133 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
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
File renamed without changes.
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,22 @@ | ||
{% extends 'panel.html' %} | ||
|
||
{% load bootstrap_tags %} | ||
{% load utilities %} | ||
|
||
{% block head_title %}Set Password{% endblock %} | ||
|
||
{% block panel_content %} | ||
<div class="row pad-all-sides"> | ||
<form class="form-horizontal" role="form" method="POST" | ||
action="{% url 'account_set_password' %}" id="password-set-form"> | ||
{% csrf_token %} | ||
|
||
<input type="hidden" name="next" value="{% next_page %}"> | ||
|
||
{{ form|as_bootstrap_horizontal:'col-md-4' }} | ||
|
||
<input id="password-set" type="submit" value="Set password" | ||
form="password-set-form" class="btn btn-primary col-md-offset-4"> | ||
</form> | ||
</div> | ||
{% 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
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