]> nmode's Git Repositories - signal-cli/commitdiff
Update captcha help text
authorAsamK <asamk@gmx.de>
Sun, 22 Oct 2023 17:35:57 +0000 (19:35 +0200)
committerAsamK <asamk@gmx.de>
Sun, 22 Oct 2023 18:42:25 +0000 (20:42 +0200)
man/signal-cli.1.adoc
src/main/java/org/asamk/signal/util/CommandUtil.java
src/main/java/org/asamk/signal/util/SendMessageResultUtils.java

index 2b545fa20d3193ff3053b50b0a857b9275172f7a..d72264a87106b707fa56aea35f60a2ffa1961c44 100644 (file)
@@ -102,7 +102,7 @@ Voice verification only works if an SMS verification has been attempted before.
 The captcha token, required if registration failed with a captcha required error.
 To get the token, go to https://signalcaptchas.org/registration/generate.html
 For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html
-Check the developer tools for a redirect starting with signalcaptcha:// Everything after signalcaptcha:// is the captcha token.
+After solving the captcha, right-click on the "Open Signal" link and copy the link.
 
 === verify
 
@@ -163,7 +163,7 @@ Voice verification only works if an SMS verification has been attempted before.
 The captcha token, required if registration failed with a captcha required error.
 To get the token, go to https://signalcaptchas.org/registration/generate.html
 For the staging environment, use: https://signalcaptchas.org/staging/registration/generate.html
-Check the developer tools for a redirect starting with signalcaptcha:// Everything after signalcaptcha:// is the captcha token.
+After solving the captcha, right-click on the "Open Signal" link and copy the link.
 
 === finishChangeNumber
 
index 3fa9aecd33abe1c2a006c9956c6fdf453ba0a752..d637f22e3e3d7621fffdd70a14ef3e34e393c92b 100644 (file)
@@ -105,8 +105,7 @@ public class CommandUtil {
             message = """
                       Captcha required for verification, use --captcha CAPTCHA
                       To get the token, go to https://signalcaptchas.org/registration/generate.html
-                      Check the developer tools (F12) console for a failed redirect to signalcaptcha://
-                      Everything after signalcaptcha:// is the captcha token.""";
+                      After solving the captcha, right-click on the "Open Signal" link and copy the link.""";
         } else {
             message = "Invalid captcha given.";
         }
index ecc669e863b6ebfd1699d05f4bff8597a20a12d8..e4386b0ecb2df9ab40fbd9eff6ef9c26e90fbb59 100644 (file)
@@ -90,8 +90,7 @@ public class SendMessageResultUtils {
                             failure.getOptions().contains(ProofRequiredException.Option.RECAPTCHA)
                                     ? """
                                       To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html
-                                      Check the developer tools (F12) console for a failed redirect to signalcaptcha://
-                                      Everything after signalcaptcha:// is the captcha token.
+                                      After solving the captcha, right-click on the "Open Signal" link and copy the link.
                                       Use the following command to submit the captcha token:
                                       signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN"""
                                     : ""