Code

Updated passwordMethods::get_method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 May 2008 05:59:57 +0000 (05:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 May 2008 05:59:57 +0000 (05:59 +0000)
-We do not need to check method availability twice

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10795 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/password-methods/class_password-methods.inc

index f04d790cb2ddc40e6f3b06b675d74a8f8cb59216..6d12baf596c76294e7c0ad7150cacd151343dc7f 100644 (file)
@@ -132,7 +132,8 @@ class passwordMethod
     foreach ($methods['class'] as $class){
 
         $test = new $class($config,$dn);
-        if(!$test->is_available())continue;
+#        All listed methods are available. 
+#        if(!$test->is_available())continue;
         $method= $test->_extract_method($password_hash);
         if ($method != ""){
           $test->set_hash($method);