Update logout.php
This commit is contained in:
parent
1c28086d4b
commit
4cf2c835c6
@ -80,6 +80,7 @@ if (session_status() === PHP_SESSION_ACTIVE)
|
|||||||
// Not sure this is required
|
// Not sure this is required
|
||||||
unset($_SESSION['dol_login']);
|
unset($_SESSION['dol_login']);
|
||||||
unset($_SESSION['dol_entity']);
|
unset($_SESSION['dol_entity']);
|
||||||
|
unset($_SESSION['urlfrom']);
|
||||||
|
|
||||||
if (GETPOST('noredirect')) return;
|
if (GETPOST('noredirect')) return;
|
||||||
header("Location: ".$url); // Default behaviour is redirect to index.php page
|
header("Location: ".$url); // Default behaviour is redirect to index.php page
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user