/** * Callback method used during login * @access public * @param str $email The Email address * @return bool */ public function _check_login($email) { $remember = FALSE; if ($this->input->post('remember') == 1) { $remember = TRUE; } if ($this->ion_auth->login($email, $this->input->post('password'), $remember)) { return TRUE; } $this->form_validation->set_message('_check_login', $this->ion_auth->errors()); return FALSE; }