Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Miguel Suárez[/eluser]
Hi, I have a problem, I cant seem to update the user's password from within a form:

This is the code I'm using, it updates the other fields fine:

Code:
$id = $this->input->post('userId');

$data = array(
'first_name' => $this->input->post('first_name'),
'last_name' => $this->input->post('last_name'),
'username' => $this->input->post('username'),
'password' => $this->input->post('password'),
'email' => $this->input->post('email')
);

$this->ion_auth->update($id, $data);

;

What am I doing wrong?


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 07-17-2012, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB