mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +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")
|
print("\n".join(terms.splitlines()), "\n")
|
||||||
|
|
||||||
self.user_id = self.authorize()
|
self.user_id = self.authorize()
|
||||||
|
self.password = None
|
||||||
self.save_session()
|
self.save_session()
|
||||||
|
|
||||||
self.rnd_id = self.session.msg_id
|
self.rnd_id = self.session.msg_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user