mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 09:15:19 +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`.