From: Tobias Diekershoff Date: Wed, 16 Oct 2024 04:54:39 +0000 (+0000) Subject: reorder 2FA buttons X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=124c55d3cf672a920767092e48ebd7778c21583b;p=friendica.git reorder 2FA buttons The first button is selected by default, moving the disable button down, so by default the recover codes will be displayed if a user huts ENTER after typing their password. fixes 14464 --- diff --git a/view/templates/settings/twofactor/index.tpl b/view/templates/settings/twofactor/index.tpl index c5f5288505..1832a09d0d 100644 --- a/view/templates/settings/twofactor/index.tpl +++ b/view/templates/settings/twofactor/index.tpl @@ -28,16 +28,16 @@ {{include file="field_password.tpl" field=$password}} -{{if !$has_secret}} -

-{{else}} -

-{{/if}} {{if $has_secret && $verified}}

{{/if}} +{{if !$has_secret}} +

+{{else}} +

+{{/if}} {{if $has_secret && !$verified}}

{{/if}}