Don't log anonymous GET /sessions/
This commit is contained in:
parent
809e0702f3
commit
5c6486215c
|
@ -22,6 +22,8 @@ class LoggingThrottle(throttling.BaseThrottle):
|
|||
pass
|
||||
elif path.startswith('/stats/'):
|
||||
return True
|
||||
elif path == '/sessions/' and user == None:
|
||||
return True
|
||||
|
||||
if request.data:
|
||||
data = request.data.dict()
|
||||
|
|
Loading…
Reference in New Issue
Block a user