diff --git a/setup/config.php b/setup/config.php index d7ba34b7ee..16a1061a7c 100644 --- a/setup/config.php +++ b/setup/config.php @@ -53,7 +53,12 @@ $db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0]) . "','" . addslashes($newsetting[1]) . "')"); } - echo "
Your config has been updated
Click here to login"; + if ($newsettings["authtype"] == "ldap") { + Header("Location: ldap.php"); + exit; + } else { + echo "
Your config has been updated
Click here to login"; + } } @$db->query("select * from config");