summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e27e64)
raw | patch | inline | side by side (parent: 6e27e64)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 12:36:21 +0000 (12:36 +0000) | ||
committer | cajus <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 | patch | blob | history |
index 08556847fb744c36847a3e7f88490b1a1a9bc344..c74d1dfd8b66417bcc1018918b5d537b3b12cbd2 100644 (file)
/* 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);
}