Log user login instead of calendar owner for sucessful accesses
This commit is contained in:
parent
e7ba2ab78b
commit
bd2c50dadf
@ -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…
x
Reference in New Issue
Block a user