mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 05:00:23 +03:00
Changing self._authorized property after log_out()
Making a client to `log_out()` doesn't remove the authorized status, allowing the client to bypass `client.is_user_authorized()`.
This commit is contained in:
parent
ace715e059
commit
882963c1c7
|
@ -494,6 +494,7 @@ class TelegramClient(TelegramBareClient):
|
|||
|
||||
self.disconnect()
|
||||
self.session.delete()
|
||||
self._authorized = False
|
||||
return True
|
||||
|
||||
def get_me(self, input_peer=False):
|
||||
|
|
Loading…
Reference in New Issue
Block a user