Private
Public Access
1
0

redoing user password forgot functionality

This commit is contained in:
Sander Roosendaal
2017-02-13 08:35:10 +01:00
parent ca60f615ae
commit 4635df09a8
4 changed files with 25 additions and 14 deletions

View File

@@ -38,7 +38,7 @@
{% if user.is_authenticated %}
<p><a class="button gray small" href="/password_change/">Password Change</a></p>
{% else %}
<p><a class="button gray small" href="/password_reset/">Forgotten Password?</a></p>
<p><a class="button gray small" href="/password_reset/">Forgot Password?</a></p>
{% endif %}
</div>
</div>

View File

@@ -17,10 +17,14 @@
<td>{{ form.password.label_tag }}</td>
<td>{{ form.password }}</td>
</tr>
<tr>
<td></td>
<td><a href="/password_reset/">Forgot password?</a></td>
</tr>
</table>
<input type="submit" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
{% endblock %}
{% endblock %}