diff --git a/src/auth/ha-auth-flow.ts b/src/auth/ha-auth-flow.ts index 668beb4685a6..eb89c9156b87 100644 --- a/src/auth/ha-auth-flow.ts +++ b/src/auth/ha-auth-flow.ts @@ -17,6 +17,7 @@ import { redirectWithAuthCode, submitLoginFlow, } from "../data/auth"; +import { generateAuthenticationCredentialsJSON } from "../data/webauthn"; import type { DataEntryFlowStep, DataEntryFlowStepForm, @@ -216,7 +217,7 @@ export class HaAuthFlow extends LitElement { `ui.panel.page-authorize.form.providers.${step.handler[0]}.abort.${step.reason}` )} `; - case "form": + case "form": { return html`
+ ${this.hass.localize("ui.panel.profile.passkeys.empty_state")} +
` + : this.passkeys.map( + (passkey) => html` +