mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
From: Lars Ingebrigtsen <larsi@gnus.org>
* lisp/gnus/nnimap.el (nnimap-login): Allow anonymous logins (bug#24704). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
c22677bf00
commit
7643fbb452
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue