[TYPO3-english] felogin hook beforeRedirect doesn't work

Jigal van Hemert jigal.van.hemert at typo3.org
Wed May 16 22:12:41 CEST 2012


On 16-5-2012 15:04, Jan Wehe wrote:
> Hello,
> I'm using TYPO3 4.6.7 with felogin 1.4.0 and try to use the beforeRedirect
> hook.

The hook is only called if:
- there is a login or logout taking place
- there is redirect url
- redirect is not disabled

Furthermore directly after the hook a http redirect is performed. This 
will effectively hide your var_dump output.

Try to install the devlog extension and call t3lib_div::devLog (see the 
function for parameter details) in your hook subscriber. There is BE 
module to watch the data in the devlog.

The hook is definitely working; I used it a few months ago to change the 
redirect url for the first login of a FE user.

Jigal van Hemert
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

More information about the TYPO3-english mailing list