Project

General

Profile

Actions

Feature #16653

closed

eID: initBeUser

Added by Bjrn Kraus about 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-10-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

It would be helpfull to have a corresponding function to the FE user in class.tslib_eidtools.php. I have added the part of the init.php.

require_once(PATH_t3lib.'class.t3lib_userauth.php');
require_once(PATH_t3lib.'class.t3lib_userauthgroup.php');
require_once(PATH_t3lib.'class.t3lib_beuserauth.php');
require_once(PATH_t3lib.'class.t3lib_befunc.php');

$BE_USER = t3lib_div::makeInstance('t3lib_beUserAuth'); // New backend user object
$BE_USER->warningEmail = $TYPO3_CONF_VARS['BE']['warning_email_addr'];
$BE_USER->lockIP = $TYPO3_CONF_VARS['BE']['lockIP'];
$BE_USER->auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout']);
$BE_USER->OS = TYPO3_OS;
$BE_USER->start(); // Object is initialized
$BE_USER->checkCLIuser();
$BE_USER->backendCheckLogin(); // Checking if there's a user logged in
$BE_USER->trackBeUser($TYPO3_CONF_VARS['BE']['trackBeUser']);
(issue imported from #M4406)

Actions

Also available in: Atom PDF