summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da077ce)
raw | patch | inline | side by side (parent: da077ce)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:42:19 +0000 (08:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:42:19 +0000 (08:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10806 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 1c2cc61f54fd6a17dc930d525043854b9d3efc08..a4f7125e8288e97e11a4ca9314a6608d1f00c73d 100644 (file)
/* Call common method to give check the hook */
$message= plugin::check();
+ /* Configurable password methods should be configured initially.
+ */
+ if($this->last_pw_storage != $this->pw_storage){
+ $temp= passwordMethod::get_available_methods();
+ foreach($temp['name'] as $id => $name){
+ if($name == $this->pw_storage){
+ if($temp['is_configurable'][$id] && !$this->pwObject instanceof $temp[$name] ){
+ $message[] = _("The selected password method a requires initial configuration.");
+ }
+ break;
+ }
+ }
+ }
+
$this->update_new_dn();
/* Set the new acl base */