Commit 8558ac28 authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski

Fix redirect when user have to log in

parent 1d4c4a6c
......@@ -124,7 +124,7 @@ if (!file_exists(GLPI_CONFIG_DIR . "/config_db.php")) {
// redirect to ticket
if (isset($_GET["redirect"])) {
echo '<input type="hidden" name="redirect" value="'.$_GET['redirect'].'"/>';
echo '<input type="hidden" name="redirect" value="'.Html::entities_deep($_GET['redirect']).'"/>';
echo '<p class="login_input" id="login_input_name">
<input type="text" name="'.$namfield.'" id="login_name" required="required"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment