Only 2 out of 10 backup codes visible when generated

Continuing the discussion from 2FA Backup codes:

Noticed this while testing out a bug. When generating Two Factor Backup codes, we create 10, but only show 2 of them to the user. Copying/downloading works, and includes all 10, it’s just the modal missing 8 of them.

image

7 Likes

Looks like David fixed this up here

https://github.com/discourse/discourse/commit/84a2aae77fd35391d8b1d9fc5a46fb5fddd3bb94

5 Likes

Yes, the box should now be full width, and have 10 rows :slight_smile:

Plus if for some crazy reason there still isn’t space, the box will be scrollable

6 Likes