HOR-4575
This commit is contained in:
@@ -252,6 +252,11 @@ if ($timeZoneFailed) {
|
|||||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login' . PATH_SEP . 'TimeZoneAlert', '', $arrayData, SYS_URI . 'login/authentication.php');
|
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login' . PATH_SEP . 'TimeZoneAlert', '', $arrayData, SYS_URI . 'login/authentication.php');
|
||||||
|
|
||||||
G::RenderPage('publish');
|
G::RenderPage('publish');
|
||||||
|
|
||||||
|
// Destroy a significant value in session
|
||||||
|
global $G_FORM;
|
||||||
|
unset($_SESSION[$G_FORM->id]['USR_PASSWORD']);
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ if (!isset($_POST)) {
|
|||||||
}
|
}
|
||||||
if (isset($_SESSION['sysLogin'])) {
|
if (isset($_SESSION['sysLogin'])) {
|
||||||
$_POST['form'] = $_SESSION['sysLogin'];
|
$_POST['form'] = $_SESSION['sysLogin'];
|
||||||
|
// Destroy variables already assigned to the global variable $_POST
|
||||||
|
unset($_SESSION['sysLogin']);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once 'authentication.php';
|
require_once 'authentication.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user