Commit be8e9f7d by Jansa Jose

Merge branch 'master' into 'dev_production'

forgot pass See merge request !48
parents d020103a aa4034eb
......@@ -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