diff --git a/app/Controllers/Savvy.php b/app/Controllers/Savvy.php index 4f56771..1526f14 100644 --- a/app/Controllers/Savvy.php +++ b/app/Controllers/Savvy.php @@ -214,7 +214,7 @@ private function testCards(){ break; case 'resetpass': $in["action"] = 10011111111; $res = ResetPassword::procResetPassword($inx); - + $this->logArray($res); break; case 'createuser': $in["action"] = SAVVYEXT_USER_CREATE; $in["street1"] = $in["streetaddress"]; diff --git a/app/Services/ResetPassword.php b/app/Services/ResetPassword.php index 34d7cd0..5110a29 100644 --- a/app/Services/ResetPassword.php +++ b/app/Services/ResetPassword.php @@ -11,18 +11,8 @@ class ResetPassword extends CoreServiceApi public static function procResetPassword($data) { - /* - CRITICAL - 2022-04-20 19:46:44 --> username=>ses66181@gmail.com -CRITICAL - 2022-04-20 19:46:44 --> mode=>100 -CRITICAL - 2022-04-20 19:46:44 --> reset_pin=> -CRITICAL - 2022-04-20 19:46:44 --> newpass=> -CRITICAL - 2022-04-20 19:46:44 --> reset_key=> - "email": "lviet@float.sg", - "mode":100 - */ - -$res =[]; -log_message('critical', "ResetPassword=>Mode ====>===>".$data['mode'] ); + $res =[]; + log_message('critical', "ResetPassword=>Mode ====>===>".$data['mode'] ); switch($data['mode']){