Welcome Guest, Not a member yet? Register   Sign In
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?




Theme © iAndrew 2016 - Forum software by © MyBB