[fix] Finally caught this little nasty Cookie setter

This commit is contained in:
kload 2015-05-21 15:29:36 +02:00
parent f895e02986
commit e15c15812c

View file

@ -790,7 +790,6 @@ end
-- Set cookie and go on with the response (needed to properly set cookie) -- Set cookie and go on with the response (needed to properly set cookie)
function pass () function pass ()
delete_redirect_cookie() delete_redirect_cookie()
ngx.req.set_header("Set-Cookie", cookies)
-- When we are in the SSOwat portal, we need a default `content-type` -- When we are in the SSOwat portal, we need a default `content-type`
if string.ends(ngx.var.uri, "/") if string.ends(ngx.var.uri, "/")