Skip to content

Commit

Permalink
Merge pull request #607 from web-auth/bugs/dump
Browse files Browse the repository at this point in the history
Remove debug dump in ProfileBasedRequestOptionsBuilder
  • Loading branch information
Spomky authored Jun 30, 2024
2 parents f882b4a + 3da7335 commit da8341e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getFromRequest(
$userEntity = $optionsRequest->username === null ? null : $this->userEntityRepository->findOneByUsername(
$optionsRequest->username
);
dump($this->fakeCredentialGenerator?->generate($request, $optionsRequest->username ?? ''));

$allowedCredentials = match (true) {
$userEntity === null && $optionsRequest->username === null, $userEntity === null && $optionsRequest->username !== null && $this->fakeCredentialGenerator === null => [],
$userEntity === null && $optionsRequest->username !== null && $this->fakeCredentialGenerator !== null => $this->fakeCredentialGenerator->generate(
Expand Down

0 comments on commit da8341e

Please sign in to comment.