(nnimap-open-connection): Fix login/password bug.
authorTeodor Zlatanov <tzz@lifelogs.com>
Wed, 14 May 2008 20:28:02 +0000 (20:28 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Wed, 14 May 2008 20:28:02 +0000 (20:28 +0000)
lisp/ChangeLog
lisp/nnimap.el

index ba2b64d..27ce95c 100644 (file)
@@ -1,5 +1,7 @@
 2008-05-14  Teodor Zlatanov  <tzz@lifelogs.com>
 
+       * nnimap.el (nnimap-open-connection): Fix login/password bug.
+
        * nnrss.el (nnrss-normalize-date): Accept Unix-style epoch timestamps.
 
        * auth-source.el: Preliminary Tramp docs.
index 3dbe025..7dd6091 100644 (file)
@@ -812,7 +812,7 @@ If EXAMINE is non-nil the group is selected read-only."
                   (list port)
                   (list "imap" "imaps" "143" "993"))))
           (passwd (or 
-                   (auth-source-user-or-password "login" server port) ; this is preferred to netrc-*
+                   (auth-source-user-or-password "password" server port) ; this is preferred to netrc-*
                    (netrc-machine-user-or-password
                     "password"
                     list