From 6581858eb22fe13822a67e0b6a2d1f6b59fbde90 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 7 May 2008 05:59:57 +0000 Subject: [PATCH] Updated passwordMethods::get_method -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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc index f04d790cb..6d12baf59 100644 --- a/gosa-core/include/password-methods/class_password-methods.inc +++ b/gosa-core/include/password-methods/class_password-methods.inc @@ -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); -- 2.30.2