summaryrefslogtreecommitdiff
path: root/lisp/net/tramp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/tramp.el')
-rw-r--r--lisp/net/tramp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 60112392537..fe9f1976944 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4459,6 +4459,7 @@ Invokes `password-read' if available, `read-passwd' else."
auth-passwd))))
;; Try the password cache.
(let ((password (password-read pw-prompt key)))
+ ;; FIXME test password works before caching it.
(password-cache-add key password)
password)
;; Else, get the password interactively.