mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-26 06:41:22 -04:00
Update lib/current_user.rb
This commit is contained in:
parent
d42a87ec8a
commit
ab97dc8fd6
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue