From 51bc5645b2a295a5ef5a7314ca63f6491208407f Mon Sep 17 00:00:00 2001 From: annelin Date: Sun, 7 Apr 2019 15:04:01 +0300 Subject: [PATCH] [!] Remove plain auth code/passphrase from application log --- inc/telegramclient.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/telegramclient.rb b/inc/telegramclient.rb index 2aba50c..ed7ab07 100644 --- a/inc/telegramclient.rb +++ b/inc/telegramclient.rb @@ -177,7 +177,7 @@ class TelegramClient # processing authorization # def process_auth(typ, data) - @logger.info 'Check authorization :%s [%s]..' % [typ.to_s, data] + @logger.info 'Check authorization :%s..' % typ.to_s @client.check_authentication_code(data) if typ == :code @client.check_authentication_password(data) if typ == :password end