Skip to content

Commit

Permalink
Merge pull request #499 from nextcloud/backport/498/stable1.3
Browse files Browse the repository at this point in the history
[stable1.3] fix: registration not returning the entityId
  • Loading branch information
st3iny authored Nov 28, 2023
2 parents f791a54 + dd036e3 commit 74c6618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Service/WebAuthnManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public function finishRegister(IUser $user, string $name, $data): array {
$this->eventDispatcher->dispatch(StateChanged::class, new StateChanged($user, true));

return [
'entityId' => $entity->getId(),
'id' => base64_encode($publicKeyCredentialSource->getPublicKeyCredentialId()),
'name' => $name,
'createdAt' => $entity !== null ? $entity->getCreatedAt() : null,
Expand Down

0 comments on commit 74c6618

Please sign in to comment.