Saltkey Added In header : ps

This commit is contained in:
VE10-Sanjeev 2023-07-03 20:05:22 +05:30
parent 378a19da9b
commit 8efeb268cc

View File

@ -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;