From 4f2990342dc42f5b254b0cbec2c0d7f73d00b1b2 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 31 Dec 2024 07:57:13 +0100 Subject: [PATCH] add additional debug line --- radicale/auth/htpasswd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radicale/auth/htpasswd.py b/radicale/auth/htpasswd.py index 1767c9e1..f872eba5 100644 --- a/radicale/auth/htpasswd.py +++ b/radicale/auth/htpasswd.py @@ -155,6 +155,8 @@ class Auth(auth.BaseAuth): if login_ok and password_ok: logger.debug("Password verification for user '%s' with method '%s': password_ok=%s", login, method, password_ok) 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: raise RuntimeError("Invalid htpasswd file %r: %s" % (self._filename, e)) from e