Allow for service names to propagate to the log

This commit is contained in:
2011-05-31 14:10:19 +01:00
parent 0f4bd89e92
commit b28170df3e
3 changed files with 5 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ class APIKeyAuthentication(object):
url = request.path
AuthAPILog(key=keyobj, access_datetime=datetime.utcnow(), url=url).save()
request.user = AnonymousUser()
request.api_key = keyobj
return True
return False