feature/cierres #25

Open
aldarien wants to merge 458 commits from feature/cierres into develop
174 changed files with 590 additions and 6485 deletions
Showing only changes of commit 2c175c8171 - Show all commits

View File

@ -42,7 +42,9 @@ class Login
$body = $response->getBody()->getContents(); $body = $response->getBody()->getContents();
$data = json_decode($body, true); $data = json_decode($body, true);
if (!key_exists('token', $data)) { if (!key_exists('token', $data)) {
$this->logger->error('Token not found'); $this->logger->error('Token not found', [
'body' => $body
]);
return ''; return '';
} }
file_put_contents($this->tokenFilename, $data['token']); file_put_contents($this->tokenFilename, $data['token']);