Only show the 2fa suggestion on successful login

Bug #1665411 reported by Evan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Opinion
Medium
Unassigned
Software Center Agent
Confirmed
Undecided
Unassigned

Bug Description

"""
$ 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.

Tags: store
Leo Arias (elopio)
tags: added: store
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
Changed in software-center-agent:
status: New → Invalid
Revision history for this message
Leo Arias (elopio) wrote :

Note here that we probably shouldn't be showing the suggestion at all, until 2FA is enabled for non-canonicalers: https://bugs.launchpad.net/canonical-identity-provider/+bug/1636645

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I agree that we shouldn't be showing the suggestion at all in Snapcraft until it's possible for people to actually do what it suggests. It just causes confusion otherwise.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

snapcraft is following the UX guidelines drafted in Heidelberg with sabdfl, store and snapcraft folks. This is a store bug or in any case we can remove the messaging from snapcraft itself.

Changed in software-center-agent:
status: Invalid → Confirmed
Changed in snapcraft:
status: Confirmed → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.