Closed Bug 474288 Opened 16 years ago Closed 16 years ago

SMTP passwords should always be saved

Categories

(MailNews Core :: Networking: SMTP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b2

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch The fix (obsolete) — Splinter Review
I had this patch in my tree as part of the password manager changes but discarded it from the original landing because I forgot it wasn't just tidy up.

Toolkit's password manager doesn't support session passwords. Additionally, as master password is now protecting the cache, we should be saving server passwords when the user requests us to.

Therefore we can drop the password protect cache preference checking in the SMTP prompt code.

I also did some tidy up in these functions - they were unnecessarily complicated, had unneeded checks and could be optimised slightly.
Attachment #357648 - Flags: superreview?(neil)
Attachment #357648 - Flags: review?(neil)
Attachment #357648 - Flags: superreview?(neil)
Attachment #357648 - Flags: superreview+
Attachment #357648 - Flags: review?(neil)
Attachment #357648 - Flags: review?(bienvenu)
Comment on attachment 357648 [details] [diff] [review]
The fix

>+    return GetPassword(aUsername);
aPassword, surely ;-)
I'll wait for Standard8 to address Neil's comment before applying the patch and running with it.
Attached patch The fix v2Splinter Review
Fixed Neil's comment.
Attachment #357648 - Attachment is obsolete: true
Attachment #357701 - Flags: superreview+
Attachment #357701 - Flags: review?(bienvenu)
Attachment #357648 - Flags: review?(bienvenu)
Attachment #357701 - Flags: review?(bienvenu) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/5ae254acdf1e
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
Product: Core → MailNews Core
Target Milestone: mozilla1.9.1b3 → Thunderbird 3.0b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: