[API][CONF][!!!] Make the name of cookies configurable
authorChristian Jul Jensen <julle@typo3.org>
Wed, 25 May 2011 14:11:00 +0000 (16:11 +0200)
committerChristian Jul Jensen <julle@typo3.org>
Wed, 6 Jul 2011 11:23:57 +0000 (13:23 +0200)
commit40170c36ca2424dacd208cc68756ae8778ad6143
tree0d2bb2c4131b7e36be7173a33b8f317b3858f545
parent5ffccffe7e4ed5ab3f5ee18c01741a55af0e303a
[API][CONF][!!!] Make the name of cookies configurable

To avoid different scenarios with clashing cookies on same-domain
sites, make the name of cookies used for BE and FE login
configurable.
To achieve this:
* add configuration options
* add setting of name in relevant classes with proper fallback
* change all uses of the names to API calls
* change time tracking start algorithm to detect BE user login

Change-Id: I8078bd284cdf5d1413ddce8bc004e25f855ba6c5
Resolves: #23872
Reviewed-on: http://review.typo3.org/2373
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Jul Jensen
Tested-by: Christian Jul Jensen
13 files changed:
NEWS.txt
t3lib/class.t3lib_beuserauth.php
t3lib/class.t3lib_userauth.php
t3lib/class.t3lib_userauthgroup.php
t3lib/config_default.php
typo3/classes/class.ajaxlogin.php
typo3/index.php
typo3/sysext/beuser/class.tx_beuser_switchbackuser.php
typo3/sysext/beuser/mod/index.php
typo3/sysext/cms/tslib/class.tslib_adminpanel.php
typo3/sysext/cms/tslib/class.tslib_fe.php
typo3/sysext/cms/tslib/class.tslib_feuserauth.php
typo3/sysext/cms/tslib/index_ts.php