Start topup
This commit is contained in:
@@ -59,6 +59,7 @@ $endpoints = array(
|
||||
'accounttypes' => array('POST'),
|
||||
'jobmanagerlist' => array('POST'),
|
||||
'profilepasschange' => array('POST'),
|
||||
'starttopup' => array('POST'),
|
||||
);
|
||||
|
||||
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
|
||||
@@ -121,6 +122,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
}
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
switch ($endpoint) {
|
||||
case 'starttopup':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREPARE_TOPUP;
|
||||
break;
|
||||
case 'profilepasschange':
|
||||
$in["action"] = WRENCHBOARD_PROFILE_RESETPASS;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user