mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:23:13 +08:00
616de83232
Flagged by the truffle team at: https://meta.discourse.org/t/thread-unsafe-current-user-usage-in-auth-defaultcurrentuserprovider/225671 This usage of AR is unsafe currently, as AR models are not safe for concurrent usage Introduces a new query potentially every minute which should be acceptable. |
||
---|---|---|
.. | ||
omniauth_strategies | ||
auth_provider.rb | ||
authenticator.rb | ||
current_user_provider.rb | ||
default_current_user_provider.rb | ||
discord_authenticator.rb | ||
facebook_authenticator.rb | ||
github_authenticator.rb | ||
google_oauth2_authenticator.rb | ||
managed_authenticator.rb | ||
result.rb | ||
twitter_authenticator.rb |