mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-11 00:22:29 +03:00
Remove unnecessary line
parent
45bad03e77
commit
d5451dfa15
|
@ -29,7 +29,6 @@ hint = 'hint'
|
||||||
pw_salted = salt + pw + salt
|
pw_salted = salt + pw + salt
|
||||||
pw_hash = sha256(pw_salted).digest()
|
pw_hash = sha256(pw_salted).digest()
|
||||||
|
|
||||||
password_new = PasswordInputSettings(new_salt=salt, new_password_hash=pw_hash, hint='hint')
|
|
||||||
result = client(account.UpdatePasswordSettingsRequest(
|
result = client(account.UpdatePasswordSettingsRequest(
|
||||||
current_password_hash=salt,
|
current_password_hash=salt,
|
||||||
new_settings=PasswordInputSettings(
|
new_settings=PasswordInputSettings(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user