From 999de31e259332af2ec5148d712b53716815e9ab Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 6 Sep 2017 08:59:18 -0700 Subject: [PATCH] Spreading user validation for php and go apps. --- src/nxt_conf_validation.c | 16 ++++++++-------- 1 file 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,