mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Add MultiAccountManager
This commit is contained in:
parent
6261934dda
commit
4a1af0786c
18 changed files with 221 additions and 131 deletions
|
@ -32,8 +32,7 @@ public class VerifyCommand implements RegistrationCommand {
|
|||
var pin = ns.getString("pin");
|
||||
|
||||
try {
|
||||
final var manager = m.verifyAccount(verificationCode, pin);
|
||||
manager.close();
|
||||
m.verifyAccount(verificationCode, pin);
|
||||
} catch (PinLockedException e) {
|
||||
throw new UserErrorException(
|
||||
"Verification failed! This number is locked with a pin. Hours remaining until reset: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue