• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ion Auth redirecting problem

#1
[eluser]BrainCatcher[/eluser]
Hi guys

I have just successfully installed ION Auth. But when i use the forgot_password function in the 'auth' controller. Its doesn't redirect properly to the login page. I spent an hour on it and i can't figure it out. Nothing seems to be wrong.

Code:
if ($forgotten) { //if there were no errors
                $this->session->set_flashdata('message', $this->ion_auth->messages());
                redirect("auth/login", 'refresh');             }
            else {
                $this->session->set_flashdata('message', $this->ion_auth->errors());
                redirect("auth/forgot_password", 'refresh');
            }

Could someone help me out please?


Messages In This Thread
Ion Auth redirecting problem - by El Forum - 04-15-2011, 04:04 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.