diff options
author | Adam Young <ayoung@redhat.com> | 2011-03-17 19:52:52 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-03-18 16:06:08 -0400 |
commit | e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac (patch) | |
tree | 098cacfeb6fdf63afe89c719dcd6a5e7ec895167 /install/ui/policy.js | |
parent | b2a4f1c049d2377932537072a9699db7c6fcd458 (diff) | |
download | freeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.tar.gz freeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.tar.xz freeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.zip |
pwpolicy priority
Priority is now a required field in order to add a new password policy. Thus, not having the field present means we cannot create one.
https://fedorahosted.org/freeipa/ticket/1102
Diffstat (limited to 'install/ui/policy.js')
-rw-r--r-- | install/ui/policy.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js index 8c9542883..bbbf58049 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -621,7 +621,9 @@ IPA.entity_factories.pwpolicy = function() { title: IPA.messages.objects.pwpolicy.add, entity_name:'pwpolicy' }). - field(IPA.text_widget({name: 'cn', undo: false})))); + field(IPA.text_widget({name: 'cn', undo: false})). + field(IPA.text_widget({name: 'cospriority', + undo: false})))); that.facet( IPA.details_facet({name:'details'}). @@ -635,7 +637,6 @@ IPA.entity_factories.pwpolicy = function() { input({name:'krbpwdhistorylength'}). input({name:'krbpwdmindiffchars'}). input({name:'krbpwdminlength'}))); - that.create_association_facets(); that.entity_init(); |