optional uid

Make the uid field optional
This commit is contained in:
Adam Young
2011-06-20 21:20:13 -04:00
parent 3aa371b301
commit d2d5278c52
4 changed files with 29 additions and 1 deletions

View File

@@ -119,7 +119,14 @@ IPA.entity_factories.user = function() {
link: link
}).
adder_dialog({
fields: ['uid', 'givenname', 'sn']
fields: [
{
factory : IPA.text_widget,
undo: false,
optional: true,
name:'uid'
},
'givenname', 'sn']
});
return builder.build();