[TYPO3-english] felogin hook beforeRedirect doesn't work
Jan Wehe
typo3 at wehe-online.de
Thu May 17 14:33:07 CEST 2012
Hey,
thanks for you help, the redirect works now.
The problem was hiding the login page after login, so no redirect was
performed.
I want to use the username/password to login to an phpBB in the
background, is there
a hook or another way to get username/password from the felogin form?
On Wed, 16 May 2012 22:12:41 +0200, Jigal van Hemert
<jigal.van.hemert at typo3.org> wrote:
> Hi,
>
> 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.
More information about the TYPO3-english
mailing list