Security : add redirect in javascript and with header

This commit is contained in:
sparkyx 2025-07-06 10:51:27 +02:00
parent d3a9fb9269
commit 2fcbe2f1dc
6 changed files with 32 additions and 13 deletions

View file

@ -55,7 +55,7 @@ $action=$hi->get("act");
if ( $action=='X' || $g_user->check_print($action)==0 )
{
echo alert(_('Accès interdit'));
echo alert(_('Accès interdit'));
redirect("do.php?".dossier::get());
exit();
}