Skip to content

Commit

Permalink
Merge pull request #26 from Gijsbertbas/login-response-payload
Browse files Browse the repository at this point in the history
Accept non-string values in response payload
  • Loading branch information
Gijs committed Apr 1, 2021
2 parents bda1a15 + 5a3ec57 commit 5bec271
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function onAuthenticationSuccess(Request $request, TokenInterface $token)
/**
* Add fields to the response payload.
*/
public function addResponsePayload(string $key, string $value): void
public function addResponsePayload(string $key, $value): void
{
$this->responsePayload[$key] = $value;
}
Expand Down

0 comments on commit 5bec271

Please sign in to comment.