Skip to content

Commit

Permalink
move forget password link to the login page
Browse files Browse the repository at this point in the history
  • Loading branch information
mnamaki committed Dec 24, 2020
1 parent 10325b1 commit e26ed8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ <h2>Menu</h2>
</li>
{% if user.is_anonymous %}
<li><a href="{% url 'login' %}">{% translate 'Login' %}</a></li>
<li><a href="{% url 'password_reset' %}">{% translate 'Forget Password' %}</a></li>
{% endif %}
{% if user.is_authenticated %}
<li><a href="{% url 'logout' %}">{% translate 'Logout' %}</a></li>
Expand Down
1 change: 1 addition & 0 deletions templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ <h1>{% translate 'Login' %}</h1>
{% csrf_token %}
{{ form }}
<input type="submit" value="{% translate 'Login' %}" class="button primary">
<a href="{% url 'password_reset' %}" class="button">{% translate 'Forget Password ?' %}</a>
</form>
</div>
</div>
Expand Down

0 comments on commit e26ed8b

Please sign in to comment.