Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Added consistentcy to flashdata messages (via pnyjeff). Resolves issue
Browse files Browse the repository at this point in the history
  • Loading branch information
benedmunds committed Jul 26, 2012
1 parent de1bccc commit 24dad59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controllers/auth.php
Expand Up @@ -15,6 +15,8 @@ function __construct()
$this->load->library('mongo_db') :

$this->load->database();

$this->form_validation->set_error_delimiters($this->config->item('error_start_delimiter', 'ion_auth'), $this->config->item('error_end_delimiter', 'ion_auth'));
}

//redirect if needed, otherwise display the user list
Expand Down Expand Up @@ -407,7 +409,7 @@ function create_user()
{
//check to see if we are creating the user
//redirect them back to the admin page
$this->session->set_flashdata('message', "User Created");
$this->session->set_flashdata('message', $this->ion_auth->messages());
redirect("auth", 'refresh');
}
else
Expand Down

0 comments on commit 24dad59

Please sign in to comment.