From: cajus Date: Thu, 19 Jul 2007 12:28:48 +0000 (+0000) Subject: Made re-hashing work again X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e27e64022153e6d84482608103bdcf10a6b3ccd;p=gosa.git Made re-hashing work again git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6920 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index c74d1dfd8..08556847f 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1100,7 +1100,7 @@ class user extends plugin /* Indicate whether a password change is needed or not */ function password_change_needed() { - return ($this->pw_storage != $this->last_pw_storage); + return (!preg_match("/".$this->pw_storage."/i", $this->last_pw_storage)); }