Part of the EllisLab Network
   
 
Freak Auth Redirect Error after Login
Posted: 05 March 2008 05:33 PM   [ Ignore ]  
Summer Student
Total Posts:  6
Joined  09-20-2006

First thanks Dan and Co. for the library..

ok here is the problem.  if i login in and try to come back to the login page without logging out i get a redirect error for some reason. i’ve looked in the freak_auth config to see if there was some sort of redirect for this case but no go.. im assuming there is a problem with trying to load the login screen when a user has already been authenticated.. i will dig into it.. but was wondering if anyone else has run into this problem before.. all is well if i logout and then hit the login page. so maybe the logic should be if user logged in and attempting to login do this ‘FAL_login_success_action’

thanks in advance.

Profile
 
 
Posted: 28 March 2008 02:50 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  491
Joined  02-21-2007

In this case, you are redirected to the home page. See function login() in FAL_front.php.

redirect('', 'location');

What is the error message ?

Profile
 
 
Posted: 28 March 2008 07:57 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  6
Joined  09-20-2006

yep.. tracked it down awhile ago to the login() in the FAL_Front* I just adjusted the redirect to hit a different page. thanks for reply and keep up the good work..

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 61058 Total Logged-in Users: 18
Total Topics: 73867 Total Anonymous Users: 0
Total Replies: 398460 Total Guests: 350
Total Posts: 472327    
Members ( View Memberlist )
Newest Members:  tanjadebieSan2kakifemreSchottec2kmeenazterjinFuadgeorge_k_alliskhalidmhamood