Bug #19950 » 10322.diff
typo3/classes/class.ajaxlogin.php (working copy) | ||
---|---|---|
$ses_tstamp = $GLOBALS['BE_USER']->user['ses_tstamp'];
|
||
$timeout = $GLOBALS['BE_USER']->auth_timeout_field;
|
||
// check for locked BE
|
||
$fContent = t3lib_div::getUrl(PATH_typo3conf.'LOCK_BACKEND');
|
||
if ($fContent) {
|
||
$ajaxObj->addContent('locked', '{timed_out: false}');
|
||
$ajaxObj->setContentFormat('json');
|
||
}
|
||
|
||
// if 120 seconds from now is later than the session timeout, we need to show the refresh dialog.
|
||
// 120 is somewhat arbitrary to allow for a little room during the countdown and load times, etc.
|
||
if($GLOBALS['EXEC_TIME'] >= $ses_tstamp+$timeout-120) {
|