![]() |
Freak Auth Redirect Error after Login - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Freak Auth Redirect Error after Login (/showthread.php?tid=6620) |
Freak Auth Redirect Error after Login - El Forum - 03-05-2008 [eluser]crojac[/eluser] 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. Freak Auth Redirect Error after Login - El Forum - 03-28-2008 [eluser]Grahack[/eluser] In this case, you are redirected to the home page. See function login() in FAL_front.php. Code: redirect('', 'location'); Freak Auth Redirect Error after Login - El Forum - 03-28-2008 [eluser]crojac[/eluser] 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.. |