mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Use Java 17
This commit is contained in:
parent
9cb1409918
commit
ce70a623c2
51 changed files with 142 additions and 236 deletions
|
@ -40,10 +40,11 @@ public class RegisterCommand implements RegistrationCommand {
|
|||
} catch (CaptchaRequiredException e) {
|
||||
String message;
|
||||
if (captcha == null) {
|
||||
message = "Captcha required for verification, use --captcha CAPTCHA\n"
|
||||
+ "To get the token, go to https://signalcaptchas.org/registration/generate.html\n"
|
||||
+ "Check the developer tools (F12) console for a failed redirect to signalcaptcha://\n"
|
||||
+ "Everything after signalcaptcha:// is the captcha token.";
|
||||
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.""";
|
||||
} else {
|
||||
message = "Invalid captcha given.";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue