Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
access: mark index/password2 entries as non-ui
  • Loading branch information
perexg committed Apr 3, 2016
1 parent 1da95c7 commit fd8807f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/access.c
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
},
{
Expand Down

0 comments on commit fd8807f

Please sign in to comment.