From 1b3fcef1ec46ec349861e3c0e949cdfa9efb2994 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 19 Jul 2007 12:37:43 +0000 Subject: [PATCH] Lowercase switch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6922 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_password-methods.inc | 3 +++ 1 file changed, 3 insertions(+) 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 :) -- 2.30.2