mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Strip url scheme from captcha string
This commit is contained in:
parent
87406e2cdb
commit
ec3d2346ef
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class RegisterCommand implements RegistrationCommand {
|
|||
@Override
|
||||
public void handleCommand(final Namespace ns, final RegistrationManager m) throws CommandException {
|
||||
final boolean voiceVerification = ns.getBoolean("voice");
|
||||
final var captcha = ns.getString("captcha");
|
||||
final var captcha = ns.getString("captcha").replace("signalcaptcha://", "");
|
||||
|
||||
try {
|
||||
m.register(voiceVerification, captcha);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue