mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 17:15:55 +08:00
61ed83ecfc
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 | ||
twitter_authenticator_spec.rb |