[TYPO3-core] RFC Feature #11313: Add more information to logoff() method in user authentication

Oliver Hader oliver at typo3.org
Thu Jun 18 15:05:49 CEST 2009


Hi,

Oliver Hader schrieb:
> 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)".

I forgot to define a default value on the argument for the logoff()
method. This is requried for other applications that still call that
method without any argument.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list