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`. |
||
|---|---|---|
| .. | ||
| omniauth_strategies | ||
| default_current_user_provider_spec.rb | ||
| discord_authenticator_spec.rb | ||
| facebook_authenticator_spec.rb | ||
| github_authenticator_spec.rb | ||
| google_oauth2_authenticator_spec.rb | ||
| managed_authenticator_spec.rb | ||
| result_spec.rb | ||
| twitter_authenticator_spec.rb | ||