get post var
This commit is contained in:
@@ -52,6 +52,10 @@ class WrenchAuth extends BaseController
|
||||
|
||||
public function qrLogin(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out = [];
|
||||
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_QRLOGIN;
|
||||
$in["login_mode"] = MOBILE_LOGIN;
|
||||
$pieces = explode("@", $in['username']);
|
||||
@@ -72,7 +76,7 @@ class WrenchAuth extends BaseController
|
||||
}
|
||||
|
||||
log_message('critical', "************************ qrlogin 0001 ".$in['member_uid']);
|
||||
$out = [];
|
||||
|
||||
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
$out['internal_return'] = $ret;
|
||||
log_message('critical', "***** ***** WrenchAuth::userLogin Ret = ".$ret );
|
||||
|
||||
Reference in New Issue
Block a user