[!] Remove plain auth code/passphrase from application log
This commit is contained in:
parent
857e8bd202
commit
51bc5645b2
|
@ -177,7 +177,7 @@ class TelegramClient
|
||||||
|
|
||||||
# processing authorization #
|
# processing authorization #
|
||||||
def process_auth(typ, data)
|
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_code(data) if typ == :code
|
||||||
@client.check_authentication_password(data) if typ == :password
|
@client.check_authentication_password(data) if typ == :password
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue