Only show the 2fa suggestion on successful login
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
"""
$ snapcraft login
Enter your Ubuntu One SSO credentials.
Email: <email address hidden>
Password:
We strongly recommend enabling multi-factor authentication: https://help.ubuntu.com/community/SSO/FAQs/2FA
You need to set a username. It will appear in the developer field alongside the other details for your snap. Please visit https://myapps.developer.ubuntu.com/dev/account/ and login again.
Login failed.
"""
I'd suggest not showing the 2FA suggestion unless there's a successful login. Saying "login failed" is a bit redundant given that you just instructed them to login again. That might be better at the start of the paragraph, if present at all.
Evaluation history
No evaluation history available.