Skip to content

Commit

Permalink
2fa - add active style to 2fa pages in user settings (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-five256 authored Nov 29, 2023
1 parent 8967653 commit 1e35f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/settings/_options.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</li>
<li>
<a href="{{ path('user_settings_password') }}"
class="{{ html_classes({'active': is_route_name('user_settings_password')}) }}">
class="{{ html_classes({'active': is_route_name('user_settings_password') or is_route_name_starts_with('user_settings_2fa')}) }}">
{{ 'password_and_2fa'|trans }}
</a>
</li>
Expand Down

0 comments on commit 1e35f5a

Please sign in to comment.