get posted values

This commit is contained in:
CHIEFSOFT\ameye
2024-07-05 08:06:08 -04:00
parent 2b1083db46
commit 3abd79d72e
+4 -2
View File
@@ -6,8 +6,10 @@ class WrenchAuth extends BaseController
{
public function userLogin(){
$in = $this->request->getPostGet();
// $in = $this->request->getPostGet();
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$in["action"] = WRENCHBOARD_ACCOUNT_LOGIN;
if (!isset($in["login_mode"])){
$in["login_mode"] = MOBILE_LOGIN;