From: cajus Date: Thu, 19 Jul 2007 12:37:43 +0000 (+0000) Subject: Lowercase switch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b3fcef1ec46ec349861e3c0e949cdfa9efb2994;p=gosa.git Lowercase switch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6922 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_password-methods.inc b/include/class_password-methods.inc index b3c07653d..80e8c18b5 100644 --- a/include/class_password-methods.inc +++ b/include/class_password-methods.inc @@ -95,6 +95,9 @@ function change_password ($dn, $password, $mode=0, $hash= "") global $config; $newpass= ""; + /* Convert to lower. Methods are lowercase */ + $hash= strtolower($hash); + // Get all available encryption Methods // NON STATIC CALL :)