mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
Update lib/current_user.rb
This commit is contained in:
@ -2,7 +2,6 @@ module CurrentUser
|
||||
|
||||
def self.lookup_from_env(env)
|
||||
request = Rack::Request.new(env)
|
||||
puts request.inspect
|
||||
auth_token = request.cookies[:_t]
|
||||
user = nil
|
||||
if auth_token && auth_token.length == 32
|
||||
|
Reference in New Issue
Block a user