Describe the bug
If you have 2fa enabled for your email address, and then you update the email for your account the one-time-password gets sent to the old email address.
Expected Behavior
OTP should always be sent to the email address configured on your profile page
Actual Behavior
When you enable 2fa via email, it copies your current email address and never updates it
Steps to Reproduce
- Enable 2fa via email
- Change your email address on the profile page
- Log out and log back in using the new email address
- Observe that the 2fa code was sent to the old email address
Describe the bug
If you have 2fa enabled for your email address, and then you update the email for your account the one-time-password gets sent to the old email address.
Expected Behavior
OTP should always be sent to the email address configured on your profile page
Actual Behavior
When you enable 2fa via email, it copies your current email address and never updates it
Steps to Reproduce