Don't list tokens on login failure

main
Bob Mottram 2022-02-25 13:55:36 +00:00
parent c895cdaea5
commit c92a012b2f
1 changed files with 1 additions and 2 deletions

View File

@ -1829,8 +1829,7 @@ class PubServer(BaseHTTPRequestHandler):
print('AUTH: epicyon cookie ' +
'authorization failed, header=' +
self.headers['Cookie'].replace('epicyon=', '') +
' token_str=' + token_str + ' tokens=' +
str(self.server.tokens_lookup))
' token_str=' + token_str)
return False
print('AUTH: Header cookie was not authorized')
return False