Use django builtin auth views, and add a password reset link
This commit is contained in:
@@ -51,7 +51,8 @@
|
||||
{% else %}
|
||||
<h2 class="title">Login</h2>
|
||||
<p>Welcome! Do you have an invite? <a href="{% url profiles.views.claimInvite %}">Claim it!</a><p>
|
||||
<form method="POST" action="{%url profiles.views.login %}">
|
||||
<p><a href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
|
||||
<form method="POST" action="{%url django.contrib.auth.views.login %}">
|
||||
{%csrf_token%}
|
||||
{{login_form.as_p}}
|
||||
<input type="submit" value="Login"/>
|
||||
|
Reference in New Issue
Block a user