-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
91 additions
and
3 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,5 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password change successful!</h1> | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password change</h1> | ||
{% if form.errors %} | ||
<ul class="errorlist"> | ||
<li>Please fix the errors and submit again.</li> | ||
</ul> | ||
{% endif %} | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
<ul> | ||
{{ form.as_ul }} | ||
</ul> | ||
<input type="submit" class="btn post" value="Change my password" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password reset complete</h1> | ||
<p>Your password has been set. You may go ahead and <a href="{% url auth_login %}">login</a> now.</p> | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password reset - new password</h1> | ||
{% if validlink %} | ||
{% if form.errors %} | ||
<ul class="errorlist"> | ||
<li>Please fix the errors and submit again.</li> | ||
</ul> | ||
{% endif %} | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
<ul> | ||
{{ form.as_ul }} | ||
</ul> | ||
<input type="submit" class="btn post" value="Change my password" /> | ||
</form> | ||
{% else %} | ||
<p> | ||
The password reset link was invalid, possibly because it has already been used. | ||
Please <a href="{% url auth_password_reset %}">request a new password reset</a>. | ||
</p> | ||
{% endif %} | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password reset</h1> | ||
<p>Please check your e-mail for further instructions on resetting your password.</p> | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
You're receiving this e-mail because you requested a password reset | ||
for your user account on {{ site_name }}. | ||
|
||
Please go to the following page and choose a new password: | ||
|
||
{% block reset_link %} | ||
https://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %} | ||
{% endblock %} | ||
|
||
Your username, in case you've forgotten: {{ user.username }} |
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,18 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
<h1>Password reset</h1> | ||
<p>Forgot your password? Enter your e-mail address below, and we’ll reset your password and e-mail the new one to you.</p> | ||
{% if form.errors %} | ||
<ul class="errorlist"> | ||
<li>Please fix the errors and submit again.</li> | ||
</ul> | ||
{% endif %} | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
<ul> | ||
{{ form.as_ul }} | ||
</ul> | ||
<input type="submit" class="btn post" value="Reset my password" /> | ||
</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
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