summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f2a9f1)
raw | patch | inline | side by side (parent: 1f2a9f1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 12:28:48 +0000 (12:28 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 12:28:48 +0000 (12:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6920 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index c74d1dfd8b66417bcc1018918b5d537b3b12cbd2..08556847fb744c36847a3e7f88490b1a1a9bc344 100644 (file)
/* 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));
}