remove unused file, fix ngx.exit status issue
This commit is contained in:
@@ -54,6 +54,7 @@ local function verifyJwtToken(httpc, token)
|
||||
else
|
||||
if 200 ~= res.status then
|
||||
ngx.log(ngx.ERR, "JWT TOKEN VERIFICATION *ERROR* -> ", err)
|
||||
ngx.status = res.status
|
||||
ngx.say(res.body)
|
||||
ngx.exit(res.status)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user