diff options
author | Łukasz Jędrzejewski <jedrzejewskiluk@gmail.com> | 2017-11-04 12:24:49 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-11-04 12:24:49 +0200 |
commit | e973c5f5f43ad4d6c98995eea269509b8a258781 (patch) | |
tree | 37c59af9480865ab5dad813a54ff8f0979b3667d /lisp/emacs-lisp/cursor-sensor.el | |
parent | 5ea5b2536ef580fe4b17b6dbd62df90d51e73e5f (diff) | |
download | emacs-e973c5f5f43ad4d6c98995eea269509b8a258781.tar.gz emacs-e973c5f5f43ad4d6c98995eea269509b8a258781.tar.bz2 emacs-e973c5f5f43ad4d6c98995eea269509b8a258781.zip |
Extract user from host when searching for entries in auth-source-pass
* lisp/auth-source-pass.el (auth-source-pass--user): New function.
(auth-source-pass--find-match): Use it. When the user is not
explicitly specified and no entry is found, extract the user from
the host and then search again. (Bug#29045)
* test/lisp/auth-source-pass-tests.el
(auth-source-pass-find-match-matching-extracting-user-from-host):
Add a new test case.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions