mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
just a small logging fix so that we got 'anonymous user' in logs instead of calendar owner if user is not authenticated
This commit is contained in:
parent
5a0f841968
commit
d49776af8d
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class Application(object):
|
|||
log.LOGGER.info("%s allowed" % calendar.owner)
|
||||
status, headers, answer = function(environ, calendar, content)
|
||||
else:
|
||||
log.LOGGER.info("%s refused" % calendar.owner)
|
||||
log.LOGGER.info("%s refused" % (user or "anonymous user"))
|
||||
status = client.UNAUTHORIZED
|
||||
headers = {
|
||||
"WWW-Authenticate":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue