diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index 940585b567..4d74da04ac 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -385,7 +385,7 @@ {/if} - + {#if canUseApiKeys({ user: $user, config: $config })} diff --git a/src/lib/components/chat/Settings/Account/Mfa.svelte b/src/lib/components/chat/Settings/Account/Mfa.svelte index de71c8e3c3..32f37e7538 100644 --- a/src/lib/components/chat/Settings/Account/Mfa.svelte +++ b/src/lib/components/chat/Settings/Account/Mfa.svelte @@ -1,5 +1,6 @@ -
- {#if status} - - {status.enabled - ? $i18n.t('Authenticator configured') - : $i18n.t('Authenticator not configured')} - {#if status.required && status.enabled}{/if} - -

- {status.enabled - ? $i18n.t('{{COUNT}} recovery codes remaining', { COUNT: status.recovery_codes_remaining }) - : $i18n.t('Managed by your administrator.')} -

- {#if show && status.required && status.enabled} -
-

- {$i18n.t('Verify with a fresh code. Changes sign out all devices.')} -

- - -
- +
+ {#if status} + + {status.enabled + ? $i18n.t('Authenticator configured') + : $i18n.t('Authenticator not configured')} -
-
- {/if} - {/if} - {#if error}{/if} - {#if reauthenticate}{/if} -
+ {#if status.required && status.enabled}{/if} + +

+ {status.enabled + ? $i18n.t('{{COUNT}} recovery codes remaining', { + COUNT: status.recovery_codes_remaining + }) + : $i18n.t('Managed by your administrator.')} +

+ {#if show && status.required && status.enabled} +
+

+ {$i18n.t('Verify with a fresh code. Changes sign out all devices.')} +

+ + +
+ +
+
+ {/if} + {/if} + {#if error}{/if} + {#if reauthenticate}{/if} +
+
+{/if}