From ee41955db09d61710603985b1a273672e21df2f9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 24 Jan 2018 18:41:23 +0100 Subject: [PATCH] Set the password to None after successfully authorizing the user --- pyrogram/client/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 9c282a82..677ef69c 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -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