I never scan 2FA setup QR codes anymore. I copy the secret directly into my password manager. You should allow a user to see or at least copy to clipboard the 2FA secret.