heroku / heroku-two-factor

Deprecated - see our updated docs.
https://devcenter.heroku.com/articles/two-factor-authentication
4 stars 3 forks source link

Extra message to suggest generating recovery codes #41

Closed brandur closed 10 years ago

brandur commented 10 years ago

This sends out an exra line while enabling 2FA that suggests that recovery codes be generated. Any thoughts on whether or not this is desirable?

brandur commented 10 years ago

Full output now looks like this:

Re-authenticate with code to activate two-factor.
Enter your Heroku credentials.
Email: brandur@heroku.com
Password (typing will be hidden):
Two-factor code: 726571
Enabled two-factor authentication.
Please generate recovery codes with `heroku 2fa:generate-recovery-codes`.

I don't think it's too much extra noise, but if anyone wants to discuss this further, feel free to open a pull. For now, merging this in.