Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the content. #311

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions settings/src/components/account-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 @@ -63,7 +63,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 @@ -75,7 +75,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
Loading