Commit f03feb9b authored by Dietmar Maurer's avatar Dietmar Maurer

fix bug 99: do not show password field for pam users

parent 0fc90395
......@@ -52,7 +52,7 @@ Ext.define('PVE.dc.UserEdit', {
});
var update_passwd_field = function(realm) {
if (realm === 'pve' || realm === 'pam') {
if (realm === 'pve') {
pwfield.setVisible(true);
pwfield.setDisabled(false);
verifypw.setVisible(true);
......@@ -97,7 +97,8 @@ Ext.define('PVE.dc.UserEdit', {
fieldLabel: gettext('Enabled'),
name: 'enable',
uncheckedValue: 0,
defaultValue: 1
defaultValue: 1,
checked: true
}
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment