Bug #21202 » class.tx_felogin_pi1_6566.patch
class.tx_felogin_pi1.php (working copy) | ||
---|---|---|
$this->redirectUrl = $this->processRedirect();
|
||
}
|
||
// Process the redirect
|
||
if (($this->logintype === 'login' || $this->logintype === 'logout') && $this->redirectUrl && !$this->noRedirect) {
|
||
if (!$GLOBALS['TSFE']->fe_user->cookieId) {
|
||
$content .= '<p style="color:red; font-weight:bold;">' . $this->pi_getLL('cookie_warning', '', 1) . '</p>';
|
||
} else {
|
||
t3lib_utility_Http::redirect($this->redirectUrl);
|
||
}
|
||
}
|
||
|
||
// What to display
|
||
$content='';
|
||
if ($this->piVars['forgot']) {
|
||
... | ... | |
}
|
||
}
|
||
// Process the redirect
|
||
if (($this->logintype === 'login' || $this->logintype === 'logout') && $this->redirectUrl && !$this->noRedirect) {
|
||
if (!$GLOBALS['TSFE']->fe_user->cookieId) {
|
||
$content .= '<p style="color:red; font-weight:bold;">' . $this->pi_getLL('cookie_warning', '', 1) . '</p>';
|
||
} else {
|
||
t3lib_utility_Http::redirect($this->redirectUrl);
|
||
}
|
||
}
|
||
return $this->conf['wrapContentInBaseClass'] ? $this->pi_wrapInBaseClass($content) : $content;
|
||
}
|