We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23f9f4e commit d776f6eCopy full SHA for d776f6e
src/Provider/Ahoi.php
@@ -91,7 +91,7 @@ protected function getScopeSeparator()
91
protected function checkResponse(ResponseInterface $response, $data)
92
{
93
$acceptableStatuses = [200, 201];
94
-
+ $data['message']=isset($data['message'])?$data['message']:null;
95
if (!in_array($response->getStatusCode(), $acceptableStatuses)) {
96
throw new IdentityProviderException(
97
$data['message'] ?: $response->getReasonPhrase(),
0 commit comments