[eluser]siptik[/eluser]
this is code work in my project:
Code:
if ($this->ion_auth->login($this->input->post('identity'), $this->input->post('password'), $remember))
{
$this->session->set_flashdata('msg', $this->ion_auth->messages());
redirect($this->input->get('referer'));
}
or
Code:
$this->session->set_flashdata('msg', $this->lang->line('login_successful'));
in the template should be the code:
Code:
<div><?=$this->session->flashdata('msg');?><div>
or
Code:
$data['msg'] = $this->session->flashdata('msg');
$this->load->view(auth/header', $data);
sorry, my English is bad.
Helped you?
Or give more details.