mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Set the password to None after successfully authorizing the user
This commit is contained in:
parent
5b7459cb71
commit
ee41955db0
@ -125,6 +125,7 @@ class Client:
|
||||
print("\n".join(terms.splitlines()), "\n")
|
||||
|
||||
self.user_id = self.authorize()
|
||||
self.password = None
|
||||
self.save_session()
|
||||
|
||||
self.rnd_id = self.session.msg_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user