mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix raising PasswordHashInvalid missing request arg too
This commit is contained in:
parent
2863eb8cc9
commit
24970a875a
|
@ -205,7 +205,7 @@ class AuthMethods(MessageParseMethods, UserMethods):
|
||||||
print('Invalid password. Please try again',
|
print('Invalid password. Please try again',
|
||||||
file=sys.stderr)
|
file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
raise errors.PasswordHashInvalidError()
|
raise errors.PasswordHashInvalidError(None)
|
||||||
else:
|
else:
|
||||||
me = await self.sign_in(phone=phone, password=password)
|
me = await self.sign_in(phone=phone, password=password)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user