2
0
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:
Dan 2018-01-24 18:41:23 +01:00
parent 5b7459cb71
commit ee41955db0

View File

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