Fix typo
This commit is contained in:
parent
0289f6d05d
commit
93d501dbbf
|
@ -108,7 +108,7 @@ public final class ConsoleInteractiveAuthenticationData implements Authenticatio
|
||||||
phoneNumber = ScannerUtils.askParameter("login", "Please type your phone number");
|
phoneNumber = ScannerUtils.askParameter("login", "Please type your phone number");
|
||||||
} while (phoneNumber.length() < 3);
|
} while (phoneNumber.length() < 3);
|
||||||
|
|
||||||
long phoneNumberLong = Long.parseLong(phoneNumber.replaceAll("[\\D]", ""));
|
long phoneNumberLong = Long.parseLong(phoneNumber.replaceAll("\\D", ""));
|
||||||
|
|
||||||
this.isBot = false;
|
this.isBot = false;
|
||||||
this.phoneNumber = phoneNumberLong;
|
this.phoneNumber = phoneNumberLong;
|
||||||
|
|
Loading…
Reference in New Issue