aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-auth.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-20 15:10:12 +0200
committermousebot <mousebot@riseup.net>2021-10-20 15:10:12 +0200
commit636367b43d3f4ff1f6362a5e7e47016fc2a69d89 (patch)
treed2b538d10857ed0494baabfbf4466355b4889c03 /lisp/mastodon-auth.el
parent7bcf78751c7e0f8ac6d5ad03be8e87e8ed30f9a3 (diff)
parente0cabe76d4107610c44b1bc6c570840ebadb5467 (diff)
Merge branch 'img-previews' into develop
Diffstat (limited to 'lisp/mastodon-auth.el')
-rw-r--r--lisp/mastodon-auth.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index 0b0c703..6729e81 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -73,12 +73,12 @@ If no auth-sources file, runs `mastodon-auth--generate-token-no-storing-credenti
"Make POST to generate auth token, without using auth-sources file."
(mastodon-http--post
(concat mastodon-instance-url "/oauth/token")
- `(("client_id" . ,(plist-get (mastodon-client) :client_id))
- ("client_secret" . ,(plist-get (mastodon-client) :client_secret))
- ("grant_type" . "password")
- ("username" . ,(read-string "Email: " user-mail-address))
- ("password" . ,(read-passwd "Password: "))
- ("scope" . "read write follow"))
+ `(("client_id" ,(plist-get (mastodon-client) :client_id))
+ ("client_secret" ,(plist-get (mastodon-client) :client_secret))
+ ("grant_type" "password")
+ ("username" ,(read-string "Email: " user-mail-address))
+ ("password" ,(read-passwd "Password: "))
+ ("scope" "read write follow"))
nil
:unauthenticated))