mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 02:39:00 +08:00
allow to use $uid_got in SSI and perl module
This commit is contained in:
parent
58e1f27d2b
commit
ec94491f0c
@ -543,7 +543,7 @@ ngx_http_userid_add_variables(ngx_conf_t *cf)
|
||||
{
|
||||
ngx_http_variable_t *var;
|
||||
|
||||
var = ngx_http_add_variable(cf, &ngx_http_userid_got, NGX_HTTP_VAR_NOHASH);
|
||||
var = ngx_http_add_variable(cf, &ngx_http_userid_got, 0);
|
||||
if (var == NULL) {
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user