diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 5e4a7f38..8f898947 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -1759,7 +1759,11 @@ public function filterSalesPDList_post() { * TO Trigger New Sales PD and Inserting the applicant on general Form also. ****** ******/ public function cetNewSalesPd_get(){ - $saltkey = $this->get('saltkey'); + $saltkey = ''; + // $saltkey = $this->get('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;