mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 14:56:15 +08:00
make logic more clear
This commit is contained in:
parent
23d053fa97
commit
55c3f1b31b
@ -199,7 +199,7 @@ ngx_http_userid_filter(ngx_http_request_t *r)
|
||||
|
||||
conf = ngx_http_get_module_loc_conf(r, ngx_http_userid_filter_module);
|
||||
|
||||
if (conf->enable <= NGX_HTTP_USERID_LOG) {
|
||||
if (conf->enable < NGX_HTTP_USERID_V1) {
|
||||
return ngx_http_next_header_filter(r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user