Working on fixing LDAP support

This commit is contained in:
jengo 2000-11-17 13:14:23 +00:00
parent 5b6dad867f
commit bbecb483c0

View File

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