# HG changeset patch # User RhodeCode Admin # Date 2023-03-28 08:27:44 # Node ID cd837e83b51cdb53584ceb7ff920a015d44d8b62 # Parent 79d8fb288f48a99681125dda18fef8562c1e96bf web-app: environ should have any ints inside diff --git a/rhodecode/subscribers.py b/rhodecode/subscribers.py --- a/rhodecode/subscribers.py +++ b/rhodecode/subscribers.py @@ -95,7 +95,7 @@ def add_request_user_context(event): request.user = auth_user request.user_auth_token = auth_token request.environ['rc_auth_user'] = auth_user - request.environ['rc_auth_user_id'] = auth_user.user_id + request.environ['rc_auth_user_id'] = str(auth_user.user_id) request.environ['rc_req_id'] = req_id