Security : add redirect in javascript and with header
This commit is contained in:
parent
d3a9fb9269
commit
2fcbe2f1dc
6 changed files with 32 additions and 13 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue