Skip to content
Snippets Groups Projects
Commit ddd9344c authored by Regis Houssin's avatar Regis Houssin
Browse files

Qual: redirect instead of the error message

parent 015d265e
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,10 @@ $langs->load("ldap");
// Security check
if ($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)
accessforbidden();
{
header("Location: ".DOL_URL_ROOT.'/');
exit;
}
$action=isset($_GET["action"])?$_GET["action"]:$_POST["action"];
$mode=$dolibarr_main_authentication;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment