password)) { require('mainlogin.php'); exit(); } echo $_SESSION['header']; ?> <?php echo _("Edit general settings"); ?>

LDAP Account Manager



password = $_POST['masterpassword']; $msg = _("New master password set successfully."); unset($_SESSION["mainconf_password"]); } else $errors[] = _("Master passwords are different or empty!"); } // set session timeout $cfg->sessionTimeout = $_POST['sessionTimeout']; // save settings $cfg->save(); // print messages if (sizeof($errors) > 0) { for ($i = 0; $i < sizeof($errors); $i++) StatusMessage("ERROR", $errors[$i]); } else { StatusMessage("INFO", _("Your settings were successfully saved.")); // back to login page echo "

" . _("Back to login") . "

"; exit(); } } ?>

  "; echo "\"""; echo "\n"; ?>


  "; echo "\"""; echo "\n"; ?>
 


">