diff --git a/src/http/modules/ngx_http_userid_filter_module.c b/src/http/modules/ngx_http_userid_filter_module.c index 17f0193f1..8304e0bcb 100644 --- a/src/http/modules/ngx_http_userid_filter_module.c +++ b/src/http/modules/ngx_http_userid_filter_module.c @@ -224,8 +224,6 @@ ngx_http_userid_filter(ngx_http_request_t *r) } } - /* ctx->status == NGX_DECLINED */ - if (ngx_http_userid_set_uid(r, ctx, conf) == NGX_OK) { return ngx_http_next_header_filter(r); } @@ -258,8 +256,6 @@ ngx_http_userid_got_variable(ngx_http_request_t *r, return ngx_http_userid_variable(r, v, &conf->name, ctx->uid_got); } - /* ctx->status == NGX_DECLINED */ - v->not_found = 1; return NGX_OK;