Gerhard Schlager 61ed83ecfc FIX: Incorrect currentUser could be cached for requests with API key (#17279)
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`.
2022-07-04 17:01:45 +02:00
..
2020-01-15 11:27:12 +01:00
2021-10-27 11:39:28 +03:00
2021-05-31 10:22:50 +08:00
2019-05-22 17:39:44 +03:00
2020-05-05 13:46:57 +10:00
2021-06-21 11:06:58 +08:00
2020-07-21 15:55:03 +08:00
2022-06-21 15:05:00 -04:00