mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 17:59:20 +00:00
This happened when a middleware accessed the `currentUser` before a controller had a chance to populate the `action_dispatch.request.path_parameters` env variable. In that case Discourse would always cache `nil` as `currentUser`.