summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-17 19:52:52 -0400
committerAdam Young <ayoung@redhat.com>2011-03-18 16:06:08 -0400
commite5b30a89b91529fdda0b48ba9aa7b4e55432e6ac (patch)
tree098cacfeb6fdf63afe89c719dcd6a5e7ec895167
parentb2a4f1c049d2377932537072a9699db7c6fcd458 (diff)
downloadfreeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.zip
freeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.tar.gz
freeipa-e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac.tar.xz
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
-rw-r--r--install/ui/policy.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index 8c95428..bbbf580 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();