mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +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',
|
||||
file=sys.stderr)
|
||||
else:
|
||||
raise errors.PasswordHashInvalidError()
|
||||
raise errors.PasswordHashInvalidError(None)
|
||||
else:
|
||||
me = await self.sign_in(phone=phone, password=password)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user