mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-06 20:10:56 +00:00
revert of 00674fe
This commit is contained in:
parent
6854cd0ee3
commit
a94984b653
2 changed files with 57 additions and 80 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue