Don't log anonymous GET /sessions/

This commit is contained in:
Tanner Collin 2022-01-26 23:57:23 +00:00
parent 809e0702f3
commit 5c6486215c

View File

@ -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()