Commit c818d117 by Tobin

change password for checker

parent 71fd564a
...@@ -171,17 +171,16 @@ class Checker extends CI_Controller { ...@@ -171,17 +171,16 @@ class Checker extends CI_Controller {
} }
$subject = "New Password for Checker Account"; $subject = "New Password for Checker Account";
$email_id = $checkerData->username;
$message = "<html> $message = "<html>
<body> <body>
New password of your Checker Account for the username New password of your Checker Account for the username
<strong>".$checkerData->username."</strong> is <strong>".$unique_id."</strong><br> <strong>".$checkerData['username']."</strong> is <strong>".$unique_id."</strong><br>
</body> </body>
</html>"; </html>";
$this->load->model('Api_model'); $this->load->model('Api_model');
$this->Api_model->send_mail($subject,$email_id,$message); $this->Api_model->send_mail($subject,$checkerData['username'],$message);
$flashMsg = array('message'=>'New Password Generated..!','class'=>'success'); $flashMsg = array('message'=>'New Password Generated..!','class'=>'success');
$this->session->set_flashdata('message', $flashMsg); $this->session->set_flashdata('message', $flashMsg);
......
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