Code

Added password proposal hook
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jul 2010 13:53:57 +0000 (13:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jul 2010 13:53:57 +0000 (13:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18903 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_core.inc

index 35614e6e8a9a35194ef8879392d5923486f28246..3472e3c6442298f1a5c82ad90349d1c38d717a30 100644 (file)
@@ -285,6 +285,16 @@ class core extends plugin {
                                 "group"         => "password",
                                 "mandatory"     => FALSE),
 
+                        array(
+                                "name"          => "passwordProposalHook",
+                                "type"          => "command",
+                                "default"       => "",
+                                "description"   => _("The 'passwordProposalHook' can be used to let GOsa generate password proposals for you. Whenever you change a password, you can then decide whether to use the proposal or to manually specify a password.")." "._("Here is an example command:")." /usr/bin/apg -n1",
+                                "check"         => "gosaProperty::isCommand",
+                                "migrate"       => "",
+                                "group"         => "password",
+                                "mandatory"     => FALSE),
+
                         array(
                                 "name"          => "displayErrors",
                                 "type"          => "bool",