From 2e8f3f4b230eadfae784e1a036fa433b2660e8f1 Mon Sep 17 00:00:00 2001 From: Thiago Pires Date: Sun, 3 Mar 2024 13:58:15 -0300 Subject: [PATCH] =?UTF-8?q?fix=20issue=2014802:=20disable=20self-sigup=20i?= =?UTF-8?q?nterface=20when=20using=20ldap=20authent=E2=80=A6=20(#15280)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix issue 14802: disable self-sigup interface when using ldap authentication provider * Update SignInPage.tsx --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> --- .../ui/src/pages/LoginPage/SignInPage.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/LoginPage/SignInPage.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/LoginPage/SignInPage.tsx index 3e4a298ea0d..8d1a94e8358 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/LoginPage/SignInPage.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/LoginPage/SignInPage.tsx @@ -268,13 +268,14 @@ const SignInPage = () => { )} -
- - {t('label.forgot-password')} - -
- - {(authConfig?.enableSelfSignup || isAuthProviderLDAP) && ( + {(!isAuthProviderLDAP) && ( +
+ + {t('label.forgot-password')} + +
+ )} + {(authConfig?.enableSelfSignup) && (!isAuthProviderLDAP) && ( <>