]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
access: mark index/password2 entries as non-ui
authorJaroslav Kysela <perex@perex.cz>
Sun, 3 Apr 2016 14:31:12 +0000 (16:31 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 3 Apr 2016 14:31:12 +0000 (16:31 +0200)
src/access.c

index 47eeef4b17e85f8938d46bee37689f1bf79b06db..70387a0dc84ac0d925bd492d6d2dd3df70f83378 100644 (file)
@@ -1452,7 +1452,7 @@ const idclass_t access_entry_class = {
       .id       = "index",
       .name     = N_("Index"),
       .off      = offsetof(access_entry_t, ae_index),
-      .opts     = PO_RDONLY | PO_HIDDEN,
+      .opts     = PO_RDONLY | PO_HIDDEN | PO_NOUI,
     },
     {
       .type     = PT_BOOL,
@@ -1935,7 +1935,7 @@ const idclass_t passwd_entry_class = {
       .id       = "password2",
       .name     = N_("Password2"),
       .off      = offsetof(passwd_entry_t, pw_password2),
-      .opts     = PO_PASSWORD | PO_HIDDEN | PO_EXPERT | PO_WRONCE,
+      .opts     = PO_PASSWORD | PO_HIDDEN | PO_EXPERT | PO_WRONCE | PO_NOUI,
       .set      = passwd_entry_class_password2_set,
     },
     {