Commit 2ca3877f authored by Sigmund Augdal's avatar Sigmund Augdal

Fix incorrect variable used for looking up memcache data

parent 13ed80bc
......@@ -19,7 +19,7 @@ function memcConnect(host, port)
end
function memcGetJson(memc, key)
local res, flags, err = memc:get(cookie_value)
local res, flags, err = memc:get(key)
if err then
ngx.log(ngx.WARN, "failed to get session: ", err)
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment