mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-11 03:09:31 +00:00
Remove phone and hash from sign in
This commit is contained in:
@@ -7,6 +7,7 @@ from ._custom import (
|
||||
CdnFileTamperedError,
|
||||
BadMessageError,
|
||||
MultiError,
|
||||
SignUpRequired,
|
||||
)
|
||||
from ._rpcbase import (
|
||||
RpcError,
|
||||
|
@@ -150,3 +150,9 @@ class MultiError(Exception):
|
||||
self.results = list(result)
|
||||
self.requests = list(requests)
|
||||
return self
|
||||
|
||||
|
||||
class SignUpRequired(Exception):
|
||||
"""
|
||||
Occurs when trying to sign in with a phone number that doesn't have an account registered yet.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user