mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 00:14:50 +00:00
Strip "+" away from phone numbers when logging in
This commit is contained in:
parent
69f77cd1d7
commit
ca54b62f63
1 changed files with 2 additions and 0 deletions
|
|
@ -572,6 +572,8 @@ class Client:
|
||||||
elif confirm in ("n", "2"):
|
elif confirm in ("n", "2"):
|
||||||
self.phone_number = input("Enter phone number: ")
|
self.phone_number = input("Enter phone number: ")
|
||||||
|
|
||||||
|
self.phone_number = self.phone_number.strip("+")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
r = self.send(
|
r = self.send(
|
||||||
functions.auth.SendCode(
|
functions.auth.SendCode(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue