1
0
Fork 0

fix(shared): Reflect MFA status in account links

This commit is contained in:
joostdecock 2023-10-25 20:21:36 +02:00
parent dd1913e499
commit a0933a33cc

View file

@ -136,7 +136,7 @@ export const AccountLinks = () => {
control: <ControlScore control={account.control} />,
github: account.data.githubUsername || account.data.githubEmail || <NoIcon />,
password: account.passwordType === 'v3' ? <BoolYesIcon /> : <NoIcon />,
mfa: <YesNo check={false} />,
mfa: <YesNo check={account.mfaEnabled} />,
}
for (const social of Object.keys(conf.account.fields.identities).filter((i) => i !== 'github'))
itemPreviews[social] = account.data[social] || (