Dont prefetch settings page in navbar with turbos instaclick behavior as this page might not be accessible without additional authentication

This commit is contained in:
Jan Böhmer 2024-02-14 22:48:36 +01:00
parent 4d4570701b
commit b6b2e44231

View file

@ -89,7 +89,8 @@
<a class="dropdown-item" href="{{ path("user_settings") }}">
{# Dont prefetch settings page, as it might require additional authentication #}
<a class="dropdown-item" href="{{ path("user_settings") }}" data-turbo-prefetch="false">
<i class="fa fa-cogs fa-fw" aria-hidden="true"></i> {% trans %}user.settings.label{% endtrans %}
</a>
<a class="dropdown-item" href="{{ path("user_info_self") }}">