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:
parent
9af15e6656
commit
4f2990342d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue