Complete treset password
This commit is contained in:
@@ -17,6 +17,7 @@ $endpoints = array(
|
||||
'createmobileuser' => array('POST'),
|
||||
'completemobileuser' => array('POST'),
|
||||
'startresetpasword' => array('POST'),
|
||||
'stepresetpass' => array('POST'),
|
||||
'userlogin' => array('POST'),
|
||||
'startjoblist' => array('POST'),
|
||||
'dashdata' => array('POST'),
|
||||
@@ -122,6 +123,11 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
}
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
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