summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4130b4)
raw | patch | inline | side by side (parent: e4130b4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 08:22:15 +0000 (08:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 08:22:15 +0000 (08:22 +0000) |
-If no valid password method was be found for the current hash, the php execution was aborted.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10682 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10682 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 8d4e92706fc1c3121d2f8bc9a77ada845538018b..3ae5f62140f2337d31bfa8330e215cb6102d2640 100644 (file)
$matches= array();
if (preg_match ("/^{[^}]+}/", $this->attrs['userPassword'][0])){
$tmp= passwordMethod::get_method($this->attrs['userPassword'][0]);
- $this->pw_storage= $tmp->get_hash();
+ if(is_object($tmp)){
+ $this->pw_storage= $tmp->get_hash();
+ }
} else {
if ($this->attrs['userPassword'][0] != ""){