diff --git a/lib/webauthn_components/authentication_component.ex b/lib/webauthn_components/authentication_component.ex index ae3726d..2c7d539 100644 --- a/lib/webauthn_components/authentication_component.ex +++ b/lib/webauthn_components/authentication_component.ex @@ -79,7 +79,7 @@ defmodule WebauthnComponents.AuthenticationComponent do class={@class} title="Use an existing account" disabled={@disabled} - data-skip-conditional-ui-check={@skip_conditional_ui_check} + data-skip-conditional-ui-check={if @skip_conditional_ui_check, do: "true"} > <.icon_key /> <%= @display_text %>