summaryrefslogtreecommitdiff
path: root/lisp/auth-source.el
diff options
context:
space:
mode:
authorTed Zlatanov <tzz@lifelogs.com>2017-01-31 14:12:41 -0500
committerTed Zlatanov <tzz@lifelogs.com>2017-01-31 14:13:10 -0500
commit52515f1133f2b87c573524d83c86b08e70ce1c30 (patch)
treec02721b532645eca240b0063afdc7d53213226d7 /lisp/auth-source.el
parent5060ea50182f91695bb72622efcd4d1b69f56a1b (diff)
downloademacs-52515f1133f2b87c573524d83c86b08e70ce1c30.tar.gz
auth-source-user-and-password: add forgotten user parameter
* lisp/auth-source.el (auth-source-user-and-password): Use accidentally unused "user" parameter. Reported by Oscar Najera <najera.oscar@gmail.com>.
Diffstat (limited to 'lisp/auth-source.el')
-rw-r--r--lisp/auth-source.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index c26935fcc97..7402ab21d74 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -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)