diff options
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index a884376efb6..01d7948afba 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -522,6 +522,7 @@ textual parts.") | |||
| 522 | ((and (not (nnimap-capability "LOGINDISABLED")) | 522 | ((and (not (nnimap-capability "LOGINDISABLED")) |
| 523 | (eq (nnimap-stream-type nnimap-object) 'tls) | 523 | (eq (nnimap-stream-type nnimap-object) 'tls) |
| 524 | (or (null nnimap-authenticator) | 524 | (or (null nnimap-authenticator) |
| 525 | (eq nnimap-authenticator 'anonymous) | ||
| 525 | (eq nnimap-authenticator 'login))) | 526 | (eq nnimap-authenticator 'login))) |
| 526 | (nnimap-command "LOGIN %S %S" user password)) | 527 | (nnimap-command "LOGIN %S %S" user password)) |
| 527 | ((and (nnimap-capability "AUTH=CRAM-MD5") | 528 | ((and (nnimap-capability "AUTH=CRAM-MD5") |
| @@ -541,6 +542,7 @@ textual parts.") | |||
| 541 | (nnimap-wait-for-response sequence))) | 542 | (nnimap-wait-for-response sequence))) |
| 542 | ((and (not (nnimap-capability "LOGINDISABLED")) | 543 | ((and (not (nnimap-capability "LOGINDISABLED")) |
| 543 | (or (null nnimap-authenticator) | 544 | (or (null nnimap-authenticator) |
| 545 | (eq nnimap-authenticator 'anonymous) | ||
| 544 | (eq nnimap-authenticator 'login))) | 546 | (eq nnimap-authenticator 'login))) |
| 545 | (nnimap-command "LOGIN %S %S" user password)) | 547 | (nnimap-command "LOGIN %S %S" user password)) |
| 546 | ((and (nnimap-capability "AUTH=PLAIN") | 548 | ((and (nnimap-capability "AUTH=PLAIN") |