Enable TOTP Multi-Factor Authentication in local config and improve MFA UI (#121)

This commit is contained in:
Giancarlo Buomprisco
2025-01-29 14:21:02 +07:00
committed by GitHub
parent 31a35319fd
commit bc38748acd
4 changed files with 11 additions and 6 deletions

View File

@@ -329,7 +329,11 @@ function FactorQrCode({
}
return (
<div className={'flex flex-col space-y-4'}>
<div
className={
'dark:bg-secondary flex flex-col space-y-4 rounded-lg border p-4'
}
>
<p>
<span className={'text-muted-foreground text-sm'}>
<Trans i18nKey={'account:multiFactorModalHeading'} />

View File

@@ -87,10 +87,6 @@ export function MultiFactorChallengeContainer({
})}
>
<div className={'flex flex-col space-y-4'}>
<span className={'text-muted-foreground text-sm'}>
<Trans i18nKey={'account:verifyActivationCodeDescription'} />
</span>
<div className={'flex w-full flex-col space-y-2.5'}>
<div className={'flex flex-col space-y-4'}>
<If condition={verifyMFAChallenge.error}>