Steps to replicate the issue:
Regenerate Recovery Codes.
What happens?:
The new code is not displayed; instead, the existing code is shown with one element missing.
You need to regenerate 10 times to truly regenerate new codes.
What should have happened instead?:
Fix the bug.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
1.45.0-wmf.24 (rMW0b6805d184fb)
Comment:
I notified on jawiki at HERE and HERE.
PLEASE BE CAREFUL WHEN YOU CHANGE THE CODE ABOUT RECOVERY CODES!
