Complete treset password
This commit is contained in:
@@ -38,6 +38,7 @@ class WrenchApi extends BaseController
|
||||
'createmobileuser' => ['POST'],
|
||||
'completemobileuser' => ['POST'],
|
||||
'startresetpasword' => ['POST'],
|
||||
'stepresetpass' => ['POST'],
|
||||
'userlogin' => ['POST'],
|
||||
'startjoblist' => ['POST'],
|
||||
'dashdata' => ['POST'],
|
||||
@@ -87,6 +88,11 @@ class WrenchApi extends BaseController
|
||||
|
||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||
switch ($endpoint) {
|
||||
case 'stepresetpass':
|
||||
if($in['step']==300){
|
||||
$in["action"] = WRENCHBOARD_COMPLETE_PASSWORDRESET;
|
||||
}
|
||||
break;
|
||||
case 'starttopup':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREPARE_TOPUP;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user