Skip to content

Commit

Permalink
Backup Codes: Use SetupProgressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Jan 20, 2023
1 parent be317a7 commit 5ac114c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions settings/src/components/backup-codes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Internal dependencies
*/
import SetupProgressBar from './setup-progress-bar';

//
export default function TOTP( { userRecord } ) {
const enabledProviders = Object.values( userRecord.record[ '2fa_enabled_providers' ] );
Expand All @@ -16,14 +21,11 @@ export default function TOTP( { userRecord } ) {
function Setup() {
return (
<>
<p>
Backup codes let you access your account if your phone is lost, stolen, or if you run it through the washing machine and the bag of rice trick doesn't work.
We ask that you print this list of ten unique, one-time-use backup codes and keep the list in a safe place.
</p>
<SetupProgressBar step="backup-codes" />

<p>
Backup codes let you access your account if your phone is lost or stolen, or even just accidentally run through the washing machine!

Backup codes let you access your account if your primary two-factor authentication method is unavailable, like if your phone is lost or stolen.
We ask that you print this list of ten unique, one-time-use backup codes and keep the list in a safe place.
</p>

<code>
Expand Down

0 comments on commit 5ac114c

Please sign in to comment.