Project

General

Profile

Actions

Bug #21148

closed

Permanent login checkbox is not shown as expected

Added by Stefan Froemken over 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2009-09-29
Due date:
% Done:

0%

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

Description

If $GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] is set to 2 and $GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'] is greater than 0, then no checkbox for permalogin appears.
$GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] = 2 means: Permanent login is forced to be enabled

In class.tx_felogin_pi1.php I found this:

if (($this->conf['showPermaLogin']) && ($GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] 0 || $GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] 1) && $GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'] > 0) {

on line 496

but there is no IF for permalogin = 2!
(issue imported from #M12072)


Files

12072.diff (4.27 KB) 12072.diff Administrator Admin, 2009-12-05 20:56
12072_v2.diff (1.01 KB) 12072_v2.diff Administrator Admin, 2009-12-09 10:11
12072_v3.diff (1023 Bytes) 12072_v3.diff Administrator Admin, 2009-12-10 11:10

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19031: showPermaLogin = 1Closed2008-06-27

Actions
Actions

Also available in: Atom PDF