Merged in bugfix/HOR-3921 (pull request #6115)
HOR-3921 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
5f3ea6ade1
@@ -979,8 +979,10 @@ if (! defined( 'EXECUTE_BY_CRON' )) {
|
||||
require_once 'classes/model/Users.php';
|
||||
$oUser = new Users();
|
||||
$aUser = $oUser->load( $aSession['USR_UID'] );
|
||||
$_SESSION['USER_LOGGED'] = $aUser['USR_UID'];
|
||||
$_SESSION['USR_USERNAME'] = $aUser['USR_USERNAME'];
|
||||
initUserSession(
|
||||
$_SESSION['USER_LOGGED'],
|
||||
$aUser['USR_USERNAME']
|
||||
);
|
||||
$bRedirect = false;
|
||||
if ((preg_match("/msie/i", $_SERVER ['HTTP_USER_AGENT']) != 1 ||
|
||||
$config['ie_cookie_lifetime'] == 1) &&
|
||||
|
||||
Reference in New Issue
Block a user