« July 2012»
M T W T F S S
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

[blog...]

21.09.2011
21:54

TYPO3 Redirect after Frontend User Login

felogin login form
sucessfully redirected after login

My current project are some access restricted pages for my staff at Weltcafe Dresden. Some days I spent to setup the TYPO3 cal extension 1.4.1. Not everything works with the new standard templates as expected. But it's ok for the first step.

 

Next point on the list is of course a frontend login with two different user groups: one for me as admin and one for the staff.

 

The login worked very fast with the builtin felogin system extension. But one little detail didn't work: the redirect after login! This is configurable via the user or group settings, via TypoScript and via Flexform in the plugin settings.

 

After hours of searching and analyzing the source code, I found the solution: The option

 

plugin.tx_felogin_pi1.showLogoutFormAfterLogin = 1

 

disables the redirect! I always activated this option in Flexform because it sounds reasonable: "If set, you see direct the logout form after successful login". Yes, but you see only the the logout form without getting redirected anywhere.

 

This feature was introduced with TYPO3 4.5.0 and was diskussed in the old bugtracker [13798] [15421].

And you find other confused users in the current bugtracker at forge [29785].

 

For others, it's a feature. For me, it's a bug. But in any case, it's a bad documentation about this switch. So be careful!

Alexander Bigga
Tags: typo3, felogin, bug
Views: 2703
  •  
  • 2 Comment(s)
  •  
Samir
03.07.2012
09:52

thank you very much, you saved my life!

Chris
18.07.2012
01:47

Not my life but at least my night - you saved by publishing this! Thank you..

Your comment

Notify me when someone adds another comment to this post

back

[ 26.02.2013 ]