Skip to content

Commit 7de5d93

Browse files
authored
fix: remove duplicate / in login path. Fixes ietf-tools#4128. (ietf-tools#4129)
1 parent aac5cd8 commit 7de5d93

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/base/menu_user.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<li>
2626
<a class="dropdown-item {% if flavor != 'top' %} text-wrap link-primary{% endif %}"
2727
rel="nofollow"
28-
href="{% url 'ietf.ietfauth.views.login' %}{% if logout_url not in request.get_full_path %}/?next={{ request.get_full_path|urlencode }}{% endif %}">
28+
href="{% url 'ietf.ietfauth.views.login' %}">
2929
Sign in
3030
</a>
3131
</li>
@@ -83,7 +83,7 @@
8383
<li>
8484
<a class="dropdown-item {% if flavor != 'top' %} text-wrap link-primary{% endif %}"
8585
rel="nofollow"
86-
href="{% url 'ietf.ietfauth.views.login' %}/?next={{ request.get_full_path|urlencode }}">
86+
href="{% url 'ietf.ietfauth.views.login' %}?next={{ request.get_full_path|urlencode }}">
8787
Sign in
8888
</a>
8989
</li>

0 commit comments

Comments
 (0)