1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

add additional debug line

This commit is contained in:
Peter Bieringer 2024-12-31 07:57:13 +01:00
parent 9af15e6656
commit 4f2990342d

View file

@ -155,6 +155,8 @@ class Auth(auth.BaseAuth):
if login_ok and password_ok: if login_ok and password_ok:
logger.debug("Password verification for user '%s' with method '%s': password_ok=%s", login, method, password_ok) logger.debug("Password verification for user '%s' with method '%s': password_ok=%s", login, method, password_ok)
return login return login
elif login_ok:
logger.debug("Password verification for user '%s' with method '%s': password_ok=%s", login, method, password_ok)
except ValueError as e: except ValueError as e:
raise RuntimeError("Invalid htpasswd file %r: %s" % raise RuntimeError("Invalid htpasswd file %r: %s" %
(self._filename, e)) from e (self._filename, e)) from e