Skip to content

Commit

Permalink
fix: fix RegisterViewResponse (#362)
Browse files Browse the repository at this point in the history
Typo in config->get breaking the webauthn/keys/create
  • Loading branch information
niels2080 authored Feb 19, 2022
1 parent cbbdd66 commit d3a7f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Responses/RegisterViewResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function toResponse($request)
{
$publicKey = $this->publicKeyRequest($request);

$view = $this->config->get('webauthn.register.view', '');
$view = $this->config->get('webauthn.views.register', '');

return $request->wantsJson()
? Response::json(['publicKey' => $publicKey])
Expand Down

0 comments on commit d3a7f9b

Please sign in to comment.