fix
This commit is contained in:
@@ -191,9 +191,11 @@ class Savvy extends BaseController
|
|||||||
$res= $this->dummy_data();
|
$res= $this->dummy_data();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$res = FloatLogin::floatLoginUser($inx['username'], $inx['password']);
|
$resLogin = FloatLogin::floatLoginUser($inx['username'], $inx['password']);
|
||||||
log_message('critical', "Login Returned=>".$endpoint );
|
log_message('critical', "Login Returned=>".$endpoint );
|
||||||
$this->logArray($res);
|
$this->logArray($res);
|
||||||
|
$resLoginArray = json_decode($resLogin, true);
|
||||||
|
$this->logArray($resLoginArray);
|
||||||
/* if (!empty($res)){
|
/* if (!empty($res)){
|
||||||
$data = json_decode($res, TRUE);
|
$data = json_decode($res, TRUE);
|
||||||
if (isset($data['accessToken'])){
|
if (isset($data['accessToken'])){
|
||||||
|
|||||||
Reference in New Issue
Block a user