From 6e27e64022153e6d84482608103bdcf10a6b3ccd Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 19 Jul 2007 12:28:48 +0000 Subject: [PATCH] Made re-hashing work again git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6920 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.30.2