Skip to content

Commit fef0060

Browse files
committed
Added password reset links in 2 places; on the login form and in the User menu -- it's not been really easy to find that page.
- Legacy-Id: 12638
1 parent 334445d commit fef0060

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

ietf/templates/base/menu_user.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<li><a rel="nofollow" href="/accounts/profile/">Edit profile</a></li>
2020
{% else %}
2121
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a></li>
22+
<li><a rel="nofollow" href="/accounts/reset/">Password reset</a></li>
2223
{% endif %}
2324
{% endif %}
2425

ietf/templates/registration/login.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,16 @@ <h1>Sign in</h1>
1515
{% bootstrap_form form %}
1616

1717
{% buttons %}
18-
<button type="submit" class="btn btn-primary">Sign in</button>
18+
<table class="col-md-12">
19+
<tr>
20+
<td >
21+
<button type="submit" class="btn btn-primary">Sign in</button>
22+
</td>
23+
<td >
24+
Forgot your password? <a href="{% url 'ietf.ietfauth.views.password_reset' %}">Request a reset</a>.
25+
</td>
26+
</tr>
27+
</table>
1928
{% endbuttons %}
2029
</form>
2130

0 commit comments

Comments
 (0)