get posted values
This commit is contained in:
@@ -6,7 +6,9 @@ class WrenchAuth extends BaseController
|
|||||||
{
|
{
|
||||||
public function userLogin(){
|
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;
|
$in["action"] = WRENCHBOARD_ACCOUNT_LOGIN;
|
||||||
if (!isset($in["login_mode"])){
|
if (!isset($in["login_mode"])){
|
||||||
|
|||||||
Reference in New Issue
Block a user