fix
This commit is contained in:
@@ -6,6 +6,7 @@ include 'formarter.php';
|
||||
|
||||
$endpoints = array(
|
||||
'apigate' => array('POST'),
|
||||
'generics' => array('POST'),
|
||||
'createuser' => array('POST'),
|
||||
'createmobileuser' => array('POST'),
|
||||
'completemobileuser' => array('POST'),
|
||||
@@ -90,7 +91,8 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
switch ($endpoint) {
|
||||
case 'generics':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_LOGIN;
|
||||
case 'apigate':
|
||||
//$in["action"] = WRENCHBOARD_ACCOUNT_LOGIN;
|
||||
break;
|
||||
case 'startjoblist': $in["action"] = WRENCHBOARD_START_JOBLIST;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user