mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 16:40:01 +08:00
7a52ce0d6d
When the anonymous cache forces users into anonymous mode, it strips the cookies from their request. However, the discourse-logged-in header from the JS client remained. When the discourse-logged-in header is present without any valid auth_token, the current_user_provider [marks the request as ['logged out']( |
||
---|---|---|
.. | ||
anonymous_cache.rb | ||
discourse_public_exceptions.rb | ||
enforce_hostname.rb | ||
missing_avatars.rb | ||
omniauth_bypass_middleware.rb | ||
request_tracker.rb | ||
turbo_dev.rb |