Shortened the logging of the auth key. Turned out it was extremely long

This commit is contained in:
Jaime van Kessel 2017-03-24 11:22:57 +01:00
parent 8d2e824205
commit 4b7b8600ec

View file

@ -1122,6 +1122,6 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
def _getSafeAuthKey(self):
if self._authentication_key is not None:
result = self._authentication_key[-5:]
result = result.rjust(len(self._authentication_key), "*")
result = "********" + result
return result
return self._authentication_key