From 861959ed2d7d712f7269f07e2508ee9699dcb0fa Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 30 Nov 2023 17:06:22 +0100 Subject: [PATCH] add previous button to login screen (#18837) --- src/auth/ha-auth-flow.ts | 28 +++++++++++++++++++++------- src/auth/ha-authorize.ts | 20 ++++++++++++++++---- src/auth/ha-local-auth-flow.ts | 23 ++++++++--------------- src/data/auth.ts | 7 +++++-- 4 files changed, 50 insertions(+), 28 deletions(-) diff --git a/src/auth/ha-auth-flow.ts b/src/auth/ha-auth-flow.ts index d8a08c65ea..00070a57b6 100644 --- a/src/auth/ha-auth-flow.ts +++ b/src/auth/ha-auth-flow.ts @@ -21,6 +21,7 @@ import { DataEntryFlowStepForm, } from "../data/data_entry_flow"; import "./ha-auth-form"; +import { fireEvent } from "../common/dom/fire_event"; type State = "loading" | "error" | "step"; @@ -85,10 +86,6 @@ export class HaAuthFlow extends LitElement { protected render() { return html`