[autoconfig] Re-run config after password changed
Categories
(Thunderbird :: Account Manager, enhancement)
Tracking
(thunderbird_esr68 fixed, thunderbird72 fixed, thunderbird73 fixed)
People
(Reporter: BenB, Assigned: BenB)
References
Details
Attachments
(1 file, 1 obsolete file)
978 bytes,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
mkmelin
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
In the account creation dialog:
- Enter a wrong email address, e.g. foo@blanoexistentwhatever.com
- Enter a right password
- Click Continue
- -> We run the config detection, and get no result
- Correct the email address to foo@gmail.com
- -> We remove the config
- Click Continue
- -> We show the right config
This is correct. The case to fix is:
- Enter a right email address
- Enter the wrong password
- Click Continue
- -> We run the config detection, and show the result
- Correct the password
- -> The config stays
- Click Done
- -> We show "password wrong"
This is fine for almost all ISPs, where the config does not depend on the password.
Some Exchange configs, the password matters, so there, we should re-run the config process.
We should also make the username field go away in this case, if it's showing and still empty.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This does the same thing for the password as we do for the email address field.
Also, drop the username field (compare bug 1593122). It will show again as needed.
Note that I consider this an edge case. I presume that the user entered the correct password. Esp. given that there is now an eye button to show the password. But just in case, this patch should fix the cases where the user entered the wrong password.
Comment 2•4 years ago
|
||
Comment on attachment 9113239 [details] [diff] [review] Start over after changing password, v1 Review of attachment 9113239 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for taking care of this, indeed if email or password change, the config should happen again. ::: mail/components/accountcreation/content/emailWizard.js @@ +518,4 @@ > this.checkStartDone(); > + if (!this._exchangeUsername) { > + _hide("usernameRow"); > + } I'm not sure about hiding the username if empty. We might stumble in a situation where the user is updating the password before filling up the username field, and if we hide it he will be forced to click "continue" again to make it visible, which is a bit weird. Better to keep this visible if it shows up during an Exchange setup.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Ben, please address comment #2 so we can move forward.
Assignee | ||
Comment 4•4 years ago
|
||
With Aleca's review comment addressed
Comment 5•4 years ago
|
||
Comment on attachment 9117572 [details] [diff] [review] Start over after changing password, v2 Looks like Alex is taking his PTO more seriously than me ;-) - This is a simple patch and I think I can approve it. I've tested it, too. Ben, as a Christmas present, **please** include eight lines of context in your patches. It's really quite impossible to review without it. Sadly no one has landed anything after the last merge, so I'll do it now before it's too late.
Updated•4 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0ab86bf9ef19
[autoconfig] Re-run config after password changed. r=jorgk
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Thanks for having landed this.
Comment 8•4 years ago
|
||
Comment on attachment 9117572 [details] [diff] [review] Start over after changing password, v2 In case we're doing a TB 72 beta 3 before the next branch date on 2020-01-06.
Comment 9•4 years ago
|
||
This is good, thanks for landing this Jorg.
Comment 10•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Description
•