Project

General

Profile

Bug #22464 ยป issue_14121.diff

Administrator Admin, 2010-04-15 11:21

View differences:

typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (Arbeitskopie)
$this->spid = $pids['_STORAGE_PID'];
}
// GPvars:
$this->logintype = t3lib_div::_GP('logintype');
$this->referer = t3lib_div::_GP('referer');
// use piVars if exists. if not use GPvars:
$this->logintype = ($this->piVars['logintype']) ? $this->piVars['logintype'] : t3lib_div::_GP('logintype');
$this->referer = ($this->piVars['referer']) ? $this->piVars['referer'] : t3lib_div::_GP('referer');
$this->noRedirect = ($this->piVars['noredirect'] || $this->conf['redirectDisable']);
// if config.typolinkLinkAccessRestrictedPages is set, the var is return_url
$returnUrl = t3lib_div::_GP('return_url');
$returnUrl = ($this->piVars['return_url']) ? $this->piVars['return_url'] : t3lib_div::_GP('return_url');
if ($returnUrl) {
$this->redirectUrl = $returnUrl;
} else {
$this->redirectUrl = t3lib_div::_GP('redirect_url');
$this->redirectUrl = ($this->piVars['redirect_url']) ? $this->piVars['redirect_url'] : t3lib_div::_GP('redirect_url');
}
// Get Template
......
// login error
$markerArray['###STATUS_HEADER###'] = $this->getDisplayText('error_header',$this->conf['errorHeader_stdWrap.']);
$markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('error_message',$this->conf['errorMessage_stdWrap.']);
$gpRedirectUrl = t3lib_div::_GP('redirect_url');
$gpRedirectUrl = ($this->piVars['redirect_url']) ? $this->piVars['redirect_url'] : t3lib_div::_GP('redirect_url');
}
} else {
if($this->logintype === 'logout') {
    (1-1/1)