Fix raising PasswordHashInvalid missing request arg too

This commit is contained in:
Lonami Exo 2018-10-27 09:40:30 +02:00
parent 2863eb8cc9
commit 24970a875a

View File

@ -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)