get posted values
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user