mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05: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