Code

This comparison is always the same. No change needed.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Jul 2007 12:36:21 +0000 (12:36 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Jul 2007 12:36:21 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6921 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 08556847fb744c36847a3e7f88490b1a1a9bc344..c74d1dfd8b66417bcc1018918b5d537b3b12cbd2 100644 (file)
@@ -1100,7 +1100,7 @@ class user extends plugin
   /* Indicate whether a password change is needed or not */
   function password_change_needed()
   {
-    return (!preg_match("/".$this->pw_storage."/i", $this->last_pw_storage));
+    return ($this->pw_storage != $this->last_pw_storage);
   }