diff options
| author | Jonathan Marten <jjm@keelhaul.me.uk> | 2018-04-12 22:23:31 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-12 22:24:11 +0200 |
| commit | 7643fbb45273c70dafa53a8c844726c9920cd7bd (patch) | |
| tree | 94b54c020cdddb7abff4d6d63ae92925518d6d7d /lisp/gnus/nnimap.el | |
| parent | c22677bf00e420e7049bd4fca8e0c05772e973c2 (diff) | |
| download | emacs-7643fbb45273c70dafa53a8c844726c9920cd7bd.tar.gz | |
From: Lars Ingebrigtsen <larsi@gnus.org>
* lisp/gnus/nnimap.el (nnimap-login): Allow anonymous logins
(bug#24704).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/gnus/nnimap.el')
| -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.") ((and (not (nnimap-capability "LOGINDISABLED")) (eq (nnimap-stream-type nnimap-object) 'tls) (or (null nnimap-authenticator) + (eq nnimap-authenticator 'anonymous) (eq nnimap-authenticator 'login))) (nnimap-command "LOGIN %S %S" user password)) ((and (nnimap-capability "AUTH=CRAM-MD5") @@ -541,6 +542,7 @@ textual parts.") (nnimap-wait-for-response sequence))) ((and (not (nnimap-capability "LOGINDISABLED")) (or (null nnimap-authenticator) + (eq nnimap-authenticator 'anonymous) (eq nnimap-authenticator 'login))) (nnimap-command "LOGIN %S %S" user password)) ((and (nnimap-capability "AUTH=PLAIN") |
