Skip to content

Commit 154effa

Browse files
committed
[ISSUE-4] Successful request validation quits access phase
1 parent 6e1f05f commit 154effa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/api-gateway/validation/factory.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ local function _validateRequest()
6464
end
6565

6666
if res.status == ngx.HTTP_OK then
67-
return ngx.exit(ngx.OK);
67+
return ngx.OK;
6868
end
6969

7070
if res.status == ngx.HTTP_FORBIDDEN or res.status == ngx.HTTP_UNAUTHORIZED or res.status == ngx.HTTP_BAD_REQUEST or tonumber(res.status) > 599 then

0 commit comments

Comments
 (0)