This commit is contained in:
dev-chiefworks
2022-04-20 21:21:28 -04:00
parent 4268a98764
commit 7bc1afb17d
2 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -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"];
+2 -12
View File
@@ -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']){