mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Log user login instead of calendar owner for sucessful accesses
This commit is contained in:
parent
e7ba2ab78b
commit
bd2c50dadf
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Application(object):
|
||||||
user = password = None
|
user = password = None
|
||||||
|
|
||||||
if self.acl.has_right(calendar.owner, user, password):
|
if self.acl.has_right(calendar.owner, user, password):
|
||||||
log.LOGGER.info("%s allowed" % calendar.owner)
|
log.LOGGER.info("%s allowed" % (user or "anonymous user"))
|
||||||
status, headers, answer = function(environ, calendar, content)
|
status, headers, answer = function(environ, calendar, content)
|
||||||
else:
|
else:
|
||||||
log.LOGGER.info("%s refused" % (user or "anonymous user"))
|
log.LOGGER.info("%s refused" % (user or "anonymous user"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue