Log in fx
This commit is contained in:
@@ -111,9 +111,9 @@ class Savvy extends BaseController
|
||||
|
||||
log_message('critical', "API-WAS CALLED user 009" );
|
||||
|
||||
// log_message('critical', json_encode($in) );
|
||||
// log_message('critical', json_encode($_POST) );
|
||||
|
||||
log_message('critical', json_encode($in) );
|
||||
log_message('critical', json_encode($_POST) );
|
||||
$inx = $_POST;
|
||||
switch ($endpoint) {
|
||||
case 'getdrycleanservicelist': $in["action"] = SAVVYEXT_USER_DRYCLIST;
|
||||
break;
|
||||
@@ -124,7 +124,10 @@ class Savvy extends BaseController
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
break;
|
||||
case 'userlogin': $in["action"] = SAVVYEXT_USER_LOGIN;
|
||||
$res = FloatLogin::floatLoginUser();
|
||||
|
||||
//{"username":"ses66181@gmail.com","password":"12345678","sessionid":"DUMMYSESSION","loc":"172.24.0.1","pid":100}
|
||||
|
||||
$res = FloatLogin::floatLoginUser($inx['username'], $inx['password']);
|
||||
|
||||
if (!empty($res)){
|
||||
$data = json_decode($res, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user