From 3edbbfc8a2d0a3796a951574f6ef45b7bd0dbba9 Mon Sep 17 00:00:00 2001 From: Brian Manifold Date: Wed, 31 Jul 2024 09:42:40 -0700 Subject: [PATCH] fix(portal): Fix placement of 'sign-in w/ providers' heading (#6106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Small UI/UX change. The 'Sign in with a configured provider' header was always being shown, even if the account didn't have an OIDC provider configured (i.e. all new accounts) ### Before Screenshot 2024-07-31 at 11 17 29 AM ### After Screenshot 2024-07-31 at 12 21 58 PM Screenshot 2024-07-31 at 12 18 35 PM --- elixir/apps/web/lib/web/live/sign_in.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elixir/apps/web/lib/web/live/sign_in.ex b/elixir/apps/web/lib/web/live/sign_in.ex index 125d74814..6768ca059 100644 --- a/elixir/apps/web/lib/web/live/sign_in.ex +++ b/elixir/apps/web/lib/web/live/sign_in.ex @@ -49,10 +49,6 @@ defmodule Web.SignIn do
-

- Sign in with a configured provider -

- <.flash flash={@flash} kind={:error} /> <.flash flash={@flash} kind={:info} /> @@ -66,6 +62,10 @@ defmodule Web.SignIn do <:item :if={adapter_enabled?(@providers_by_adapter, :openid_connect)}> +

+ Sign in with a configured provider +

+ <.providers_group_form adapter="openid_connect" providers={@providers_by_adapter[:openid_connect]}