Issue Bug Closed

#19153Insonsistent description/initialisation of class.t3lib_beuserauth.php->auth_timeout_field

Peter Niederlag 07/25/08, 19:04 updated 09/09/13, 09:43

Description

from class description:

var $auth_timeout_field = 6000;   // if > 0 : session-timeout in seconds. if false/<0 : no timeout. if string: The string is fieldname from the usertable where the timeout can be found.

however from typo3/init.php:

$BE_USER->auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout']);

so nothing but integers …
IMO timeout-handling should be passed to constructor or into a decent function, support for anything but integers could/should be dropped.

(issue imported from #M9053)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.