Use request.get_host rather than hardcoded server name
- Legacy-Id: 3876
This commit is contained in:
parent
f92641bcb3
commit
6ae3a906b1
|
@ -65,7 +65,7 @@ IETF.user_groups = {{ user|user_roles_json }};
|
|||
<div id="ietf-login" class="noprint">{% if user.is_authenticated %}
|
||||
{{ user }}
|
||||
{% else %}
|
||||
<a href="https://datatracker.ietf.org/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
<a href="https://{{ request.get_host }}/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
{% endif %}</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue