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

[eluser]jondavidjohn[/eluser]
I am having an issue with changing user passwords,

Here is the snippet I'm using to do so:

Code:
$password = $this->input->post('password');
      $data = array(
                'password' => $password
              );
      print_r($data);
      $this->ion_auth->update_user($id,$data);

I am getting this error:

Code:
A Database Error Occurred
You must use the "set" method to update an entry.

and when I print_r($data), I get this:

Code:
Array ( [password] => whateverpasswordItyped )

am I missing something? I thought there was a change_password function, but I couldn't find it in the docs.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 08-20-2010, 02:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB