diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-09-06 08:59:18 -0700 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-09-06 08:59:18 -0700 |
commit | 999de31e259332af2ec5148d712b53716815e9ab (patch) | |
tree | 585b06ddfce876ce5f6afe8da1dbdad63ce81887 /src/nxt_conf_validation.c | |
parent | a89b3cf8e91d0a70b0a496dd2d38cbd4a1723e32 (diff) | |
download | unit-999de31e259332af2ec5148d712b53716815e9ab.tar.gz unit-999de31e259332af2ec5148d712b53716815e9ab.tar.bz2 |
Spreading user validation for php and go apps.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r-- | src/nxt_conf_validation.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index c5180a20..337498d9 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -119,13 +119,13 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_php_members[] = { { nxt_string("user"), NXT_CONF_STRING, - NULL, - NULL }, + nxt_conf_vldt_system, + (void *) &nxt_conf_vldt_user }, { nxt_string("group"), NXT_CONF_STRING, - NULL, - NULL }, + nxt_conf_vldt_system, + (void *) &nxt_conf_vldt_group }, { nxt_string("working_directory"), NXT_CONF_STRING, @@ -164,13 +164,13 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_go_members[] = { { nxt_string("user"), NXT_CONF_STRING, - NULL, - NULL }, + nxt_conf_vldt_system, + (void *) &nxt_conf_vldt_user }, { nxt_string("group"), NXT_CONF_STRING, - NULL, - NULL }, + nxt_conf_vldt_system, + (void *) &nxt_conf_vldt_group }, { nxt_string("working_directory"), NXT_CONF_STRING, |