Browse Source

fix login request

Olivier Massot 4 years ago
parent
commit
6ffeb1b1f5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ot_connect/Classes/Service/OtAuthenticationService.php

+ 1 - 0
ot_connect/Classes/Service/OtAuthenticationService.php

@@ -218,6 +218,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
             $response = $this->apiService->request(
                 'POST',
                 self::LOGIN_URI,
+                [],
                 ['form_params' => ['_username' => $username, '_password' => $password]]
             );