Skip to content

Commit

Permalink
Reference _jupyter_current_user to detect auth
Browse files Browse the repository at this point in the history
  • Loading branch information
bhperry committed Jun 29, 2023
1 parent 8c90eb5 commit b77be90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/base/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def update_api_activity(self):
# record activity of authenticated requests
if (
self._track_activity
and getattr(self, "_user_cache", None)
and getattr(self, "_jupyter_current_user", None)
and self.get_argument("no_track_activity", None) is None
):
self.settings["api_last_activity"] = utcnow()
Expand Down

0 comments on commit b77be90

Please sign in to comment.