]> git.eshelyaron.com Git - emacs.git/commitdiff
auth-source-user-and-password: add forgotten user parameter
authorTed Zlatanov <tzz@lifelogs.com>
Tue, 31 Jan 2017 19:12:41 +0000 (14:12 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Tue, 31 Jan 2017 19:13:10 +0000 (14:13 -0500)
* lisp/auth-source.el (auth-source-user-and-password): Use
          accidentally unused "user" parameter.
          Reported by Oscar Najera <najera.oscar@gmail.com>.

lisp/auth-source.el

index c26935fcc9703dffa2bda6e9d9c2c502042ecc75..7402ab21d743c0a8914d07f158efb59ea611cbf1 100644 (file)
@@ -2129,7 +2129,7 @@ MODE can be \"login\" or \"password\"."
                      (if user
                          (auth-source-search
                           :host host
-                          :user "yourusername"
+                          :user user
                           :max 1
                           :require '(:user :secret)
                           :create nil)