aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 19:36:43 +0530
committerAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 19:36:43 +0530
commit1e4ab751683d497243f719c70cccb0450c9cb451 (patch)
tree387b8a92f66f0ade0fc594ebc80efa9f491c484e /lisp
parent7a0d85b3f7c170ae930ea7ff5be948a6183ca513 (diff)
auth: make the wording in mastodon-auth--explanation clearer
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-auth.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index ebbe86c..491d6ae 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -80,11 +80,17 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"."
(defvar mastodon-auth--explanation
(format
- (concat "A URL has been copied to your clipboard.\n"
- "Open this URL in a javascript capable browser.\n"
- "Login to your account (%s) and authorize \"mastodon.el\".\n"
- "Paste Authorization Code here: ")
- (mastodon-client-form-user-from-vars)))
+ "
+1. A URL has been copied to your clipboard. Open this URL in a
+javascript capable browser and your browser will take you to your
+Mastodon instance's login page.
+
+2. Login to your account (%s) and authorize \"mastodon.el\".
+
+3. After authorization you will be presented an authorization
+code. Copy this code and paste it in the minibuffer prompt."
+ (mastodon-client--form-user-from-vars)))
+
(defun mastodon-auth--show-notice (notice buffer-name &optional ask)
"Display NOTICE to user.
NOTICE is displayed in vertical split occupying 50% of total