aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-12 14:02:06 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-12 18:11:48 -0400
commit2433e72f27151124a755a27cc95bc5430f4e8e4d (patch)
treeab0b12f7418c6c85fbba5654e3582ff6f2558191
parente20f074de9927451a8f3f496632a39e4937b78b8 (diff)
Use `read-passwd'
-rw-r--r--lisp/mastodon-auth.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index a35dc5a..ed9b5cb 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -116,7 +116,7 @@ STATUS is passed by `url-retrieve'."
(defun mastodon-auth--user-and-passwd ()
"Prompt for user email and password."
(let ((email (read-string "Email: "))
- (passwd (read-string "Password: ")))
+ (passwd (read-passwd "Password: ")))
(cons email passwd)))
(defun mastodon--get-access-token ()