Skip to content

Commit

Permalink
Auto generate back codes on key setup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Aug 28, 2024
1 parent c79844a commit b5aa09e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings/src/components/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default function Settings() {
<WebAuthn
onKeyAdd={ () => {
if ( ! backupCodesEnabled ) {
setShouldAutoGenerateBackupCodes( true );
navigateToScreen( 'backup-codes' );
}
} }
Expand Down

0 comments on commit b5aa09e

Please sign in to comment.