diff --git a/src/auth/ha-auth-flow.ts b/src/auth/ha-auth-flow.ts index f8f00cc972..2455f1e08a 100644 --- a/src/auth/ha-auth-flow.ts +++ b/src/auth/ha-auth-flow.ts @@ -8,7 +8,6 @@ import "../components/ha-alert"; import "../components/ha-checkbox"; import { computeInitialHaFormData } from "../components/ha-form/compute-initial-ha-form-data"; import "../components/ha-formfield"; -import "../components/ha-markdown"; import { AuthProvider, autocompleteLoginFields } from "../data/auth"; import { DataEntryFlowStep, @@ -182,24 +181,13 @@ export class HaAuthFlow extends LitElement { case "abort": return html` ${this.localize("ui.panel.page-authorize.abort_intro")}: - + ${this.localize( + `ui.panel.page-authorize.form.providers.${step.handler[0]}.abort.${step.reason}` + )} `; case "form": return html` - ${this._computeStepDescription(step) - ? html` - - ` - : nothing} + ${this._computeStepDescription(step)}