fix: remove duplicate / in login path. Fixes #4128. (#4129)

This commit is contained in:
Robert Sparks 2022-06-28 11:00:30 -05:00 committed by GitHub
parent aac5cd808e
commit 7de5d93a5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
<li>
<a class="dropdown-item {% if flavor != 'top' %} text-wrap link-primary{% endif %}"
rel="nofollow"
href="{% url 'ietf.ietfauth.views.login' %}{% if logout_url not in request.get_full_path %}/?next={{ request.get_full_path|urlencode }}{% endif %}">
href="{% url 'ietf.ietfauth.views.login' %}">
Sign in
</a>
</li>
@ -83,7 +83,7 @@
<li>
<a class="dropdown-item {% if flavor != 'top' %} text-wrap link-primary{% endif %}"
rel="nofollow"
href="{% url 'ietf.ietfauth.views.login' %}/?next={{ request.get_full_path|urlencode }}">
href="{% url 'ietf.ietfauth.views.login' %}?next={{ request.get_full_path|urlencode }}">
Sign in
</a>
</li>