Welcome Guest, Not a member yet? Register   Sign In
login page errors
#7

[eluser]asmaa kamal[/eluser]
i changed the check_login method in main to

Code:
function check_login($userEmail)
{
if ($this->input->post('userPassword'))
{
$user=$this->user_model->GetUsers(array('userEmail'=>$userEmail,'userPassword'=>$this->input->post('userPassword')));
if($user) return true;
else
{$this->form_validation->set_message('check_login','your useremail/password is invalid.');
return false;}}


}
}


it doesnt redirect me to "dashboard" page

is it redirect problem?!?

help plz


Messages In This Thread
login page errors - by El Forum - 01-28-2012, 10:23 AM
login page errors - by El Forum - 01-28-2012, 10:26 AM
login page errors - by El Forum - 01-28-2012, 10:57 AM
login page errors - by El Forum - 01-28-2012, 11:30 AM
login page errors - by El Forum - 01-28-2012, 11:53 AM
login page errors - by El Forum - 01-28-2012, 12:45 PM
login page errors - by El Forum - 01-29-2012, 02:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB