mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 11:33:40 +08:00
c738d31809
Due to unicorn env object recycling request.ip could point at the wrong ip address by the time defer block is called. This usually would happen under load. This also avoids keeping the entire request object as referenced by the closure. |
||
---|---|---|
.. | ||
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 | ||
instagram_authenticator.rb | ||
managed_authenticator.rb | ||
oauth2_authenticator.rb | ||
result.rb | ||
twitter_authenticator.rb |