[TYPO3-core] RFC Feature #11313: Add more information to logoff() method in user authentication
Oliver Hader
oliver at typo3.org
Wed Jun 10 13:54:22 CEST 2009
This is an SVN patch request.
Type: Feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=11313
Branch: Trunk
Problem:
The TYPO3 user authentication (t3lib_userAuth) has a method logoff()
that is called at several places but has no information what kind of
"logoff" happens:
* regular logoff, since user requested it (status=logout)
* automatic logoff from old session when a new frontend user logs in
* automatic logoff if session of logged in frontend user expired or no
frontend user is logged in at all
Solution:
Add new constants that reflect the mentioned events and use them on
calling the logoff() method, e.g. "logoff(self::LOGOFF_OnUserLogin)".
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list