diff --git a/custom_components/auth_oidc/config/const.py b/custom_components/auth_oidc/config/const.py index 234eb37..8538262 100644 --- a/custom_components/auth_oidc/config/const.py +++ b/custom_components/auth_oidc/config/const.py @@ -8,7 +8,9 @@ from typing import Any, Dict DEFAULT_TITLE = "OpenID Connect (SSO)" DOMAIN = "auth_oidc" -REPO_ROOT_URL = "https://github.com/christiaangoossens/hass-oidc-auth/tree/v0.7.0-alpha" +REPO_ROOT_URL = ( + "https://github.com/christiaangoossens/hass-oidc-auth/tree/v0.7.0-alpha-rc3" +) ## === ## Config keys diff --git a/custom_components/auth_oidc/endpoints/injected_auth_page.py b/custom_components/auth_oidc/endpoints/injected_auth_page.py index 98f34e8..aad9a40 100644 --- a/custom_components/auth_oidc/endpoints/injected_auth_page.py +++ b/custom_components/auth_oidc/endpoints/injected_auth_page.py @@ -63,7 +63,7 @@ async def frontend_injection(hass: HomeAssistant, sso_name: str) -> None: # Inject JS and register that route frontend_code = frontend_code.replace( "", - "", ) diff --git a/custom_components/auth_oidc/manifest.json b/custom_components/auth_oidc/manifest.json index 4c71419..1376a17 100644 --- a/custom_components/auth_oidc/manifest.json +++ b/custom_components/auth_oidc/manifest.json @@ -19,5 +19,5 @@ "jinja2>=3.1.4", "bcrypt>=4.2.0" ], - "version": "0.7.0" + "version": "0.7.0-rc3" } \ No newline at end of file diff --git a/custom_components/auth_oidc/static/injection.js b/custom_components/auth_oidc/static/injection.js index eb3adac..39b6a59 100644 --- a/custom_components/auth_oidc/static/injection.js +++ b/custom_components/auth_oidc/static/injection.js @@ -31,6 +31,7 @@ function update() { const loginButton = document.querySelector("ha-button:not(.sso)") const errorAlert = document.querySelector("ha-auth-form ha-alert[alert-type=error]") const loginOptionList = document.querySelector("ha-pick-auth-provider")?.shadowRoot?.querySelector("ha-list") + const forgotPasswordLink = document.querySelector(".forgot-password") // ==== // Code input @@ -149,9 +150,11 @@ function update() { if (isOurScreen) { // Hide the header on our screens loginHeader.style.display = "none" + forgotPasswordLink.style.display = "none" } else { // Show the header on the login screen loginHeader.style.display = "" + forgotPasswordLink.style.display = "" } } }