diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 8f898947..fde3062c 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -1759,11 +1759,15 @@ public function filterSalesPDList_post() { * TO Trigger New Sales PD and Inserting the applicant on general Form also. ****** ******/ public function cetNewSalesPd_get(){ - $saltkey = ''; - // $saltkey = $this->get('saltkey'); - foreach (getallheaders() as $name => $value) { - if($name == 'Token'){ $saltkey = $value; } - } + //for demo purpose only + $saltkey = $this->get('saltkey'); + + // postman header + //$saltkey = ''; + // foreach (getallheaders() as $name => $value) { + // if($name == 'Token'){ $saltkey = $value; } + // } + // $hash = password_hash("Smc@123$", PASSWORD_DEFAULT); // Print the generated hash // echo "Generated hash: ".$hash;die;