diff options
| author | Bobby <[email protected]> | 2023-05-31 19:07:00 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-05-31 19:07:00 -0400 |
| commit | a54ebc98875c7bcf8ccce37b32e3b89921bf67bc (patch) | |
| tree | 80935fb714e3373edb82769330e3049450464f46 | |
| parent | f4ccc664189c8a6ac5e63e42900b325ac25352f1 (diff) | |
| download | thatcomputerscientist-a54ebc98875c7bcf8ccce37b32e3b89921bf67bc.tar.xz thatcomputerscientist-a54ebc98875c7bcf8ccce37b32e3b89921bf67bc.zip | |
Remove hack counter
| -rw-r--r-- | middleware/uuidmiddleware.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/middleware/uuidmiddleware.py b/middleware/uuidmiddleware.py index 59e6d4d4..61e4b065 100644 --- a/middleware/uuidmiddleware.py +++ b/middleware/uuidmiddleware.py @@ -53,10 +53,6 @@ def userTrackingContextProcessor(request): logged_in_users.append(user_data) if user_data['is_staff'] == True: admin_users.append(user_data) - - # it looks like in production, the anonymous users is 1 more than expected - if not settings.DEBUG: - anonymous_users = anonymous_users[:-1] return { 'anonymous_users': len(anonymous_users) or 0, |
