mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Stop using ha-markdown on the auth page (#18480)
This commit is contained in:
parent
463cfb869f
commit
a9e34d7590
@ -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")}:
|
||||
<ha-markdown
|
||||
allowsvg
|
||||
breaks
|
||||
.content=${this.localize(
|
||||
`ui.panel.page-authorize.form.providers.${step.handler[0]}.abort.${step.reason}`
|
||||
)}
|
||||
></ha-markdown>
|
||||
${this.localize(
|
||||
`ui.panel.page-authorize.form.providers.${step.handler[0]}.abort.${step.reason}`
|
||||
)}
|
||||
`;
|
||||
case "form":
|
||||
return html`
|
||||
${this._computeStepDescription(step)
|
||||
? html`
|
||||
<ha-markdown
|
||||
breaks
|
||||
.content=${this._computeStepDescription(step)}
|
||||
></ha-markdown>
|
||||
`
|
||||
: nothing}
|
||||
${this._computeStepDescription(step)}
|
||||
<ha-auth-form
|
||||
.data=${this._stepData}
|
||||
.schema=${autocompleteLoginFields(step.data_schema)}
|
||||
|
@ -5589,7 +5589,7 @@
|
||||
"data": {
|
||||
"code": "Two-factor authentication code"
|
||||
},
|
||||
"description": "Open the **{mfa_module_name}** on your device to view your two-factor authentication code and verify your identity:"
|
||||
"description": "Open the {mfa_module_name} on your device to view your two-factor authentication code."
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user