Heroku
Go to heroku.com
Two-factor authentication
Enter one of the recovery codes that you were given when you enabled Two-factor authentication.
16-digit recovery code
Use Recovery Code