0.1.0
This commit is contained in:
@ -85,9 +85,10 @@ class Auth {
|
||||
return false;
|
||||
}
|
||||
if ($response->getStatusCode() != 200) {
|
||||
error_log(var_export($response, true));
|
||||
return false;
|
||||
}
|
||||
$data = json_decode($response->getBody());
|
||||
$data = json_decode($response->getBody()->getContents());
|
||||
if (!$data->login) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user