Observed/problematic behavior
See steps to reproduce
Expected behavior
No "Invalid TOTP code" message
Steps to reproduce
- Start linking 2FA by scanning the QR code and setting up your 2FA authenticator
- Enter the 2FA code and click "Verify TOTP code and activate"
- Wait 2-3 minutes (may be shorter, at least a short enough time that creating an entry in a password manager causes the 2FA code to expire)
- Paste one of the backup codes and click "Confirm"
- Observe the "Invalid TOTP code" message:

You can also enter a nonsense TOTP code such as AAAAAA, and it will not be checked until you paste one of the backup codes and click "Confirm".
Other
No response