emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7643fbb: From: Lars Ingebrigtsen <address@hidden>


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 7643fbb: From: Lars Ingebrigtsen <address@hidden>
Date: Thu, 12 Apr 2018 16:25:04 -0400 (EDT)

branch: master
commit 7643fbb45273c70dafa53a8c844726c9920cd7bd
Author: Jonathan Marten <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    From: Lars Ingebrigtsen <address@hidden>
    
    * lisp/gnus/nnimap.el (nnimap-login): Allow anonymous logins
    (bug#24704).
    
    Copyright-paperwork-exempt: yes
---
 lisp/gnus/nnimap.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index a884376..01d7948 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]