index 4f7236ae5ca02b5e6d145a2752aeef9a5789e1d4..736db99cf295c868f0089ad5ae7d1cded0446568 100644 (file)
/* Extract used hash */
if ($hash == ""){
- $test = passwordMethod::get_method($attrs['userPassword'][0]);
+ $test = passwordMethod::get_method($attrs['userPassword'][0],$dn);
} else {
- $test = new $available[$hash]($config);
+ $test = new $available[$hash]($config,$dn);
$test->set_hash($hash);
}