feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
157 changed files with 569 additions and 5436 deletions
Showing only changes of commit 2c175c8171 - Show all commits

View File

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