コード例 #1
0
 /**
  * Default constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Disable cookie by default, will be activated if saveSessionData() is called,
     // a user is logging-in or an existing session is found
     $this->dontSetCookie = TRUE;
     $this->session_table = 'fe_sessions';
     $this->name = self::getCookieName();
     $this->get_name = 'ftu';
     $this->loginType = 'FE';
     $this->user_table = 'fe_users';
     $this->username_column = 'username';
     $this->userident_column = 'password';
     $this->userid_column = 'uid';
     $this->lastLogin_column = 'lastlogin';
     $this->enablecolumns = array('deleted' => 'deleted', 'disabled' => 'disable', 'starttime' => 'starttime', 'endtime' => 'endtime');
     $this->formfield_uname = 'user';
     $this->formfield_uident = 'pass';
     $this->formfield_chalvalue = 'challenge';
     $this->formfield_status = 'logintype';
     $this->auth_timeout_field = 6000;
     $this->sendNoCacheHeaders = FALSE;
     $this->getFallBack = TRUE;
     $this->getMethodEnabled = TRUE;
 }
コード例 #2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->name = self::getCookieName();
     $this->loginType = 'BE';
     $this->warningEmail = $GLOBALS['TYPO3_CONF_VARS']['BE']['warning_email_addr'];
     $this->lockIP = $GLOBALS['TYPO3_CONF_VARS']['BE']['lockIP'];
     $this->sessionTimeout = (int) $GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'];
     if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI) {
         $this->dontSetCookie = true;
     }
 }
コード例 #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->name = self::getCookieName();
     $this->loginType = 'BE';
 }
コード例 #4
0
 /**
  * Default constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Disable cookie by default, will be activated if saveSessionData() is called,
     // a user is logging-in or an existing session is found
     $this->dontSetCookie = true;
     $this->session_table = 'fe_sessions';
     $this->name = self::getCookieName();
     $this->get_name = 'ftu';
     $this->loginType = 'FE';
     $this->user_table = 'fe_users';
     $this->username_column = 'username';
     $this->userident_column = 'password';
     $this->userid_column = 'uid';
     $this->lastLogin_column = 'lastlogin';
     $this->enablecolumns = ['deleted' => 'deleted', 'disabled' => 'disable', 'starttime' => 'starttime', 'endtime' => 'endtime'];
     $this->formfield_uname = 'user';
     $this->formfield_uident = 'pass';
     $this->formfield_status = 'logintype';
     $this->sendNoCacheHeaders = false;
     $this->getFallBack = true;
     $this->getMethodEnabled = true;
     $this->lockIP = $GLOBALS['TYPO3_CONF_VARS']['FE']['lockIP'];
     $this->checkPid = $GLOBALS['TYPO3_CONF_VARS']['FE']['checkFeUserPid'];
     $this->lifetime = (int) $GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'];
 }