Commit aa4034eb by Jansa Jose

forgot pass

parent 83c89958
......@@ -416,8 +416,11 @@ class Webservice_model extends CI_Model{
$query = $this->db->update('users', $password);
if ($query) {
$data->name = $username;
$this->forgot_mails($data,$rand_pwd);
return true;
$ress = $this->forgot_mails($data,$rand_pwd);
if($ress == 'EmailSend'){
return true;
}
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment