I just installed Discourse on a VPS and recovered from a backup. I have 2FA on my account and when I sign on using the email (and link it sends me) w/o using password, it will ask for 2FA code which does work. But when I want request to reset to password, I open the link and it asks for 2FA which I put in, and it gives me,
Invalid authentication code. Each code can only be used once.