Commit 195dc4ec by Joneq

修改代码

parent 327e4d75
Showing with 1 additions and 1 deletions
......@@ -47,7 +47,7 @@ if not ok then
return
end
ngx.say(config.redis_auth)
if config.redis_auth ~= "" then
local ok, err = red:auth(config.redis_auth)
ngx.say(err)
......
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 sign in to comment