diff options
author | Jürgen Hötzel <juergen@hoetzel.info> | 2018-08-18 12:37:49 +0200 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2019-03-04 22:44:28 -0500 |
commit | 0bfb7f843b508c78de94d534a67a6967a22bb95b (patch) | |
tree | 23a08885944cc1744c08c72209b9f5455bbec7a6 /lisp | |
parent | 585a2dd79f6f929378237c3a678cf43efdf37407 (diff) |
Use the email address of the current user as default (#203)
* Use the email address of the current user as default
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-auth.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |