Skip to content

Commit

Permalink
Reduce the content. (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne authored Aug 30, 2024
1 parent 19d8f88 commit cbf19f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions settings/src/components/account-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function AccountStatus() {
? 'Please enable a Two-Factor security key or app before enabling backup codes.'
: `You have
${ backupCodesEnabled ? '' : 'not' }
verified your backup codes for two-factor authentication.`;
verified your backup codes.`;

return (
<div className={ 'wporg-2fa__account-status' }>
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function AccountStatus() {
bodyText={
webAuthnEnabled
? 'You have two-factor authentication enabled using security keys.'
: 'You have not enabled security keys for two-factor authentication.'
: 'You have not enabled security keys.'
}
isPrimary={ 'TwoFactor_Provider_WebAuthn' === primaryProvider && totpEnabled }
/>
Expand All @@ -80,7 +80,7 @@ export default function AccountStatus() {
bodyText={
totpEnabled
? 'You have two-factor authentication enabled using an app.'
: 'You have not enabled an app for two-factor authentication.'
: 'You have not enabled an app.'
}
isPrimary={ 'Two_Factor_Totp' === primaryProvider && webAuthnEnabled }
/>
Expand Down

0 comments on commit cbf19f5

Please sign in to comment.