Skip to content

Commit

Permalink
fix compiler warning about missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceful-james committed Jul 2, 2024
1 parent ccb46b3 commit fbab1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/webauthn_components/authentication_component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ defmodule WebauthnComponents.AuthenticationComponent do

challenge =
Wax.new_authentication_challenge(
origin: endpoint.url,
origin: endpoint.url(),
rp_id: :auto,
user_verification: "preferred"
)
Expand Down
2 changes: 1 addition & 1 deletion lib/webauthn_components/registration_component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ defmodule WebauthnComponents.RegistrationComponent do
challenge =
Wax.new_registration_challenge(
attestation: attestation,
origin: endpoint.url,
origin: endpoint.url(),
rp_id: :auto,
trusted_attestation_types: [:none, :basic]
)
Expand Down

0 comments on commit fbab1aa

Please sign in to comment.