Closed
Bug 1067606
Opened 10 years ago
Closed 10 years ago
Log in broken after account username converted
Categories
(MozReview Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcote, Unassigned)
Details
Attachments
(1 file)
1.71 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
Since the fix for bug 1058786 landed, after you log in, your username will be converted from the email address that serves as your username in Bugzilla to your Bugzilla ID. After this, you can still log in with your email address, but Review Board will automatically convert it, if found, to your username, which is then passed to rbbz's auth backend (the email address is passed as is if not found). We just need to quickly look up the associated email address in BugzillaBackend.authenticate() if, say, username is an integer.
Assignee | ||
Comment 1•10 years ago
|
||
This even handles users changing their username (email address) on Bugzilla *provided* that no user previously existed with that email *or* was already updated in Review Board. So not quite perfect, but pretty close, and IMHO not worth an extra query to Bugzilla.
Attachment #8489660 -
Flags: review?(mconley)
Comment 2•10 years ago
|
||
Comment on attachment 8489660 [details] [diff] [review] Look up email in BugzillaBackend.authenticate() if username is a user ID Review of attachment 8489660 [details] [diff] [review]: ----------------------------------------------------------------- Let's do it.
Attachment #8489660 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 3•10 years ago
|
||
http://hg.mozilla.org/hgcustom/version-control-tools/rev/8e6f07248ece Creating a new rbbz release shortly.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: bugzilla.mozilla.org → Developer Services
Updated•8 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•