1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-06 20:10:56 +00:00
This commit is contained in:
Mathieu Dupuy 2014-07-24 18:56:00 +02:00 committed by Mathieu Dupuy
parent 6854cd0ee3
commit a94984b653
2 changed files with 57 additions and 80 deletions

View file

@ -305,7 +305,7 @@ class Application(object):
status, headers, answer = NOT_ALLOWED
if ((status, headers, answer) == NOT_ALLOWED and
not is_authenticated and
not auth.is_authenticated(user, password) and
config.get("auth", "type") != "None"):
# Unknown or unauthorized user
log.LOGGER.info("%s refused" % (user or "Anonymous user"))