index 3ad9a4d46745e405d8e9fce33c7632efb998a17b..f0f30057c2e57cad7f5a8ce3fc5e9095446ac35a 100644 (file)
var $errorlvl = TRUE;
+ var $login_attributes = array("uid" => "uid",
+ "mail" => "mail",
+ "uid,mail" => "both");
var $optional = array(
+ "login_attribute" => "uid",
"strict_units" => false,
"list_summary" => false,
"forceglobals" => true,
foreach($this->attributes as $attr){
$smarty->assign($attr,$this->$attr);
}
+ $smarty->assign("login_attributes",$this->login_attributes);
return($smarty -> fetch (get_template_path("../setup/setup_config3.tpl")));
}
}
}
- foreach(array("list_summary","strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","user_filter_cookie","warnssl","compile","debuglevel","session_lifetime") as $name){
+ foreach(array("login_attribute","list_summary","strict_units","snmpcommunity","noprimarygroup","forceglobals","forcessl","ldapstats","user_filter_cookie","warnssl","compile","debuglevel","session_lifetime") as $name){
if(isset($_POST[$name])){
$this->optional[$name] = get_post($name);
}