From 997c9843eca5aaf27f7f417429f22e861fe45997 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Mon, 11 Oct 2021 18:46:21 -0400 Subject: [PATCH] fix --- www/svs/user/userve.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/svs/user/userve.php b/www/svs/user/userve.php index 83a5dc14..fda5de0b 100644 --- a/www/svs/user/userve.php +++ b/www/svs/user/userve.php @@ -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;