From: Jaroslav Kysela Date: Sun, 23 Apr 2017 14:34:50 +0000 (+0200) Subject: wizard: change comments for wizard ACL entries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2da278941eded6dab6bd0edc8941fa73dd3f60;p=thirdparty%2Ftvheadend.git wizard: change comments for wizard ACL entries --- diff --git a/src/access.h b/src/access.h index 95f0a620f..bd15f3579 100644 --- a/src/access.h +++ b/src/access.h @@ -23,6 +23,7 @@ #include "htsmsg.h" #define ACCESS_DEFAULT_COMMENT "Default access entry" +#define ACCESS_WIZARD_COMMENT "Wizard access entry" struct profile; struct dvr_config; diff --git a/src/wizard.c b/src/wizard.c index af5e56bc7..d203b3722 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -323,6 +323,7 @@ static void login_changed(idnode_t *in) htsmsg_add_msg(conf, "dvr", list); htsmsg_add_bool(conf, "webui", 1); htsmsg_add_bool(conf, "admin", 1); + htsmsg_add_str(conf, "comment", ACCESS_WIZARD_COMMENT); ae = access_entry_create(NULL, conf); if (ae) { ae->ae_wizard = 1; @@ -358,6 +359,7 @@ static void login_changed(idnode_t *in) htsmsg_add_str(list, NULL, "htsp"); htsmsg_add_msg(conf, "dvr", list); htsmsg_add_bool(conf, "webui", 1); + htsmsg_add_str(conf, "comment", ACCESS_WIZARD_COMMENT); ae = access_entry_create(NULL, conf); if (ae) { ae->ae_wizard = 1;