Browse Source

[!] Remove plain auth code/passphrase from application log

master
annelin 8 months ago
parent
commit
51bc5645b2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      inc/telegramclient.rb

+ 1
- 1
inc/telegramclient.rb View File

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

Loading…
Cancel
Save