- Wipe out all settings/providers so you start fresh
- Enable TOTP. You're redirected to Backup Codes
- Wipe out all settings/providers so you start fresh
- Enable WebAuthn. You're not redirected to Backup Codes
For consistency, I think we should add something like this to WebAuthn
|
const afterTimeout = useCallback( () => { |
|
setSuccess( false ); |
|
navigateToScreen( 'backup-codes' ); |
|
}, [ navigateToScreen ] ); |
For consistency, I think we should add something like this to WebAuthn
wporg-two-factor/settings/src/components/totp.js
Lines 25 to 28 in fa4c81b