diff --git a/telethon/client/auth.py b/telethon/client/auth.py index 94062d03..2e5c60bc 100644 --- a/telethon/client/auth.py +++ b/telethon/client/auth.py @@ -467,6 +467,7 @@ class AuthMethods(MessageParseMethods, UserMethods): return False pwd = await self(functions.account.GetPasswordRequest()) + pwd.new_algo.salt1 += os.urandom(32) assert isinstance(pwd, types.account.Password) if not pwd.has_password and current_password: current_password = None