summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d28aa9)
raw | patch | inline | side by side (parent: 0d28aa9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Apr 2010 12:39:09 +0000 (12:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Apr 2010 12:39:09 +0000 (12:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17841 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/password-methods/class_password-methods.inc | patch | blob | history |
diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index e1c348f2d300a874d9114bcd1eaa404f7389d61c..a2137a7c30379d92e4419d8f81da3d79d6c2e34e 100644 (file)
{
return($this);
}
+
+
+ static function is_harmless($password)
+ {
+ global $config;
+
+ if ($config->get_cfg_value("strictPasswordRules", "true") == "true") {
+ // Do we have UTF8 characters in the password?
+ return ($password == utf8_decode($password));
+ }
+
+ return(true);
+ }
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>