إنشاء رموز النسخ الاحتياطي لـ 2FA غير متاح بعد إضافة Authenticator

After adding a 2FA authenticator, the second-factor page shows correctly the added authenticator.

The Two-Factor Backup Codes sections only says:

You must enable a primary two-factor method before generating backup codes.

It’s necessary to leave the profile page and enter it again (or reload the page) to see the “Add backup codes” button.

Unfortunately, I can’t upload a screenshot here as the software always says “Sorry, but your upload failed. Please try again.” (the POST request to https://meta.discourse.org/uploads/complete-multipart.json returns a 422 with also just this text as JSON’ed body). But the content of the screenshot isn’t very enlightening anyway.

3 إعجابات

Yes, I can confirm that I have seen this as well, we should refresh the view after adding the 2FA authenticator so that backup codes can be created right away.

Thanks for the report!

إعجاب واحد (1)

I was about to file a bug report as I just went through three attempts (of enabling and disabling 2FA) on two different browsers trying to generate backup codes, but fortunately did a search first. Anyway, as it’s been more than a year and this hasn’t been addressed, and supposing it may have fallen through the cracks, I figured I’d mention that this issue still exists.

3 إعجابات

Just pushed a fix, this should now be resolved! :tada:

إعجابَين (2)

Great, thank you @keegan

إعجابَين (2)

This topic was automatically closed after 2 days. New replies are no longer allowed.