From 0bfb7f843b508c78de94d534a67a6967a22bb95b Mon Sep 17 00:00:00 2001 From: Jürgen Hötzel Date: Sat, 18 Aug 2018 12:37:49 +0200 Subject: Use the email address of the current user as default (#203) * Use the email address of the current user as default --- lisp/mastodon-auth.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 593562b..71469cf 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -72,7 +72,7 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"." `(("client_id" . ,(plist-get (mastodon-client) :client_id)) ("client_secret" . ,(plist-get (mastodon-client) :client_secret)) ("grant_type" . "password") - ("username" . ,(read-string "Email: ")) + ("username" . ,(read-string "Email: " user-mail-address)) ("password" . ,(read-passwd "Password: ")) ("scope" . "read write follow")) nil -- cgit v1.2.3