Code

- Added dh_desktop as lintian want
[gosa.git] / setup / class_setupStep_Config3.inc
index cc2307b5cd6953f1db869fd6ce88aea3d6310933..13415175bb73029a70968bc66332ce50a3f756a7 100644 (file)
@@ -26,11 +26,8 @@ class Step_Config3 extends setup_step
 
   var $errorlvl   = TRUE;
 
-  var $login_attributes = array("uid"       => "uid", 
-                                "mail"      => "mail",
-                                "uid,mail"  => "both");
   var $optional = array(
-              "login_attribute" => "uid",
+              "auth_mail" => "false",
               "strict_units" => false,
               "list_summary" => false,
               "forceglobals" => true,
@@ -87,7 +84,6 @@ class Step_Config3 extends setup_step
     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")));
   }
 
@@ -103,7 +99,7 @@ class Step_Config3 extends setup_step
         }
       }
       
-      foreach(array("login_attribute","list_summary","strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","warnssl","snmpcommunity","compile","debuglevel","session_lifetime") as $name){
+      foreach(array("auth_mail","list_summary","strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","warnssl","snmpcommunity","compile","debuglevel","session_lifetime") as $name){
         if(isset($_POST[$name])){
           $this->optional[$name] = get_post($name);
         }