Project

General

Profile

Actions

Bug #22267

closed

empty redirect setting: login message without logout button

Added by WoK about 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2010-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If a login doesn't have a redirect setting (for example if a login box is needed on any page and a user shouldn't be redirected at login) the logged-in message only gets the content of the markers ###STATUS_HEADER### and ###STATUS_MESSAGE###. The logout button isn't shown.

This can be fixed in class.user_felogin_pi1.php with the following three lines of code, which have to be inserted in the function showLogout() right before the line "// Hook for general actions after after login has been confirmed":

$subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGOUT###');
$markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', 1);
$markerArray['###USERNAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['username']);

See a german explanation with screen shots on http://info.zeichensatz.de/index.php?id=145
(issue imported from #M13798)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21162: [felogin] Possibility to show logout form direct after loginClosedSteffen Kamper2010-08-11

Actions
Actions #1

Updated by Steffen Kamper over 13 years ago

Both is valid, that's why i made it switchable in #15421

Actions #2

Updated by Steffen Kamper over 13 years ago

resolved with #15421

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF