Closed Bug 1197552 Opened 10 years ago Closed 10 years ago

Show an error notification if login fails

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sjakthol, Assigned: sjakthol)

References

Details

Attachments

(1 file)

In few occasions I've managed to trigger CSRF verification failures while logging in to Treeherder which obviously causes the login to fail. Such cases include bug 1197550 and disabling referrers. However if the login fails, the Treeherder UI does not give any indication about the failure. It'd be nice to get a notification about the failed login instead of having to monitor requests to see what is going on.
Thank you for filing this - agree the current behaviour is suboptimal with no error message!
Assignee: nobody → sjakthol
Status: NEW → ASSIGNED
Priority: -- → P2
Creating attachment on behalf of Sami, for PR#899.
Attachment #8651812 - Flags: review?(tojonmz)
Blocks: 1197550
Comment on attachment 8651812 [details] [review] PR: Show a notification if login fails r+ with nit addressed. I tried to think of a more communicative message that works with Persona, future OKTA and other invalid conditions, but agree it's probably simplest to just got with "Login failed:" for now :)
Attachment #8651812 - Flags: review?(tojonmz) → review+
This will be deployed to stage/prod sometime in the next few days. Thank you for the patch :-)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: