mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-28 09:13:58 +00:00
fix issue 14802: disable self-sigup interface when using ldap authent… (#15280)
* 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>
This commit is contained in:
parent
f2b1622c0f
commit
2e8f3f4b23
@ -268,13 +268,14 @@ const SignInPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="mt-8" onClick={onClickForgotPassword}>
|
{(!isAuthProviderLDAP) && (
|
||||||
<Typography.Link underline data-testid="forgot-password">
|
<div className="mt-8" onClick={onClickForgotPassword}>
|
||||||
{t('label.forgot-password')}
|
<Typography.Link underline data-testid="forgot-password">
|
||||||
</Typography.Link>
|
{t('label.forgot-password')}
|
||||||
</div>
|
</Typography.Link>
|
||||||
|
</div>
|
||||||
{(authConfig?.enableSelfSignup || isAuthProviderLDAP) && (
|
)}
|
||||||
|
{(authConfig?.enableSelfSignup) && (!isAuthProviderLDAP) && (
|
||||||
<>
|
<>
|
||||||
<Divider className="w-min-0 mt-8 mb-12 justify-center">
|
<Divider className="w-min-0 mt-8 mb-12 justify-center">
|
||||||
<Typography.Text className="text-sm" type="secondary">
|
<Typography.Text className="text-sm" type="secondary">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user