diff options
author | Brendan Cully <brendan@kublai.com> | 2007-05-20 00:29:19 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2007-05-20 00:29:19 -0700 |
commit | 6e5e1b4f0745a5df349309cac04d2dc1ba879d1d (patch) | |
tree | e7664ee7dd71748eea18132bcc1b4f61557833bf | |
parent | b41f54a66dad5e68d319084ab9fd8987e2ed00ae (diff) |
Forget SMTP password if authentication fails.
Thanks to Gregory Shapiro for the initial patch (I've moved the reset
from smtp_auth_sasl up to smtp_auth, and used the account API
instead of twiddling account bits by hand). Closes #2872.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | smtp.c | 3 |
2 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2007-05-08 12:54 -0700 Rocco Rutte <pdmef@gmx.net> (763bd781d108) + + * rfc3676.c: f=f: flush buffer contents (if any) after reading input + Otherwise mutt maybe won't show the last line if it's supposed to + continue. + +2007-05-07 11:50 -0700 Brendan Cully <brendan@kublai.com> (89a3e1c5c28b) + + * OPS, UPDATING, curs_main.c, functions.h: Rename next-folder to next- + unread-mailbox. Remove default binding. + + * muttlib.c: Use signed arithmetic in mutt_gecos_name to avoid an + overflow. Closes #2885. + 2007-05-02 10:50 -0700 N.J. Mann <njm@njm.f2s.com> (f6861b85f22b) * OPS, curs_main.c, functions.h: Add next-folder command @@ -444,6 +444,9 @@ static int smtp_auth (CONNECTION* conn) else r = smtp_auth_sasl (conn, AuthMechs); + if (r != SMTP_AUTH_SUCCESS) + mutt_account_unsetpass (&conn->account); + if (r == SMTP_AUTH_UNAVAIL) { mutt_error (_("No authenticators available")); |