summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94501b6)
raw | patch | inline | side by side (parent: 94501b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 15:02:07 +0000 (15:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Dec 2008 15:02:07 +0000 (15:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13124 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 e23798d505def1313320302c6ac1f65f578b8605..adb14ec187f78990f27c46501a61455a6cafebcc 100644 (file)
foreach($temp as $id => $data){
if(isset($data['name']) && $data['name'] == $this->pw_storage){
$tmp = new $temp[$this->pw_storage]($this->config,$this->dn);
+ $tmp->set_hash($this->pw_storage);
$this->attrs['userPassword'] = $tmp->create_template_hash($this->attrs);
break;
}
if(in_array("pw_storage",$this->multi_boxes)){
return(TRUE);
}
- return($this->pw_storage != $this->last_pw_storage);
+ return($this->pw_storage != $this->last_pw_storage && !$this->is_template);
}