Use relative path in templates instead of full pathes

This fixes problems with HTTP/HTTPS mixing
This commit is contained in:
Jan Böhmer 2022-08-04 21:00:42 +02:00
parent 4c4b610daa
commit 92e477775a
9 changed files with 14 additions and 14 deletions

View file

@ -24,5 +24,5 @@
<div id="u2fError" style="display: none;" class="text-center h4"></div>
</form>
<a href="{{ url('user_settings') }}">{% trans %}tfa_u2f.add_key.back_to_settings{% endtrans %}</a>
<a href="{{ path('user_settings') }}">{% trans %}tfa_u2f.add_key.back_to_settings{% endtrans %}</a>
{% endblock %}