summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ece75e2)
raw | patch | inline | side by side (parent: ece75e2)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 May 2005 11:32:36 +0000 (11:32 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 May 2005 11:32:36 +0000 (11:32 +0000) |
include/class_password-methods.inc | patch | blob | history |
index f580eb75882b36879383f893e0e1c56efc38e0d5..023f1d4488ee569b306f83e7687a93161d464706 100644 (file)
$name = preg_replace ("/passwordMethod/i", "", $one);
$test = new $one(false);
if($test->is_available()) {
- $ret['name'][$i]= preg_replace ("/passwordMethod/i","",$one);
+ $plugname= strtolower(preg_replace ("/passwordMethod/i","",$one));
+ $ret['name'][$i]= $plugname;
$ret['class'][$i]=$one;
- $ret[$i]['name']= preg_replace("/passwordMethod/i","",$one);
+ $ret[$i]['name']= $plugname;
$ret[$i]['class']= $one;
- $ret[preg_replace ("/passwordMethod/i","",$one)]=$one;
+ $ret[$plugname]=$one;
$i++;
}
}