mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 16:55:06 +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 className="mt-8" onClick={onClickForgotPassword}>
|
||||
<Typography.Link underline data-testid="forgot-password">
|
||||
{t('label.forgot-password')}
|
||||
</Typography.Link>
|
||||
</div>
|
||||
|
||||
{(authConfig?.enableSelfSignup || isAuthProviderLDAP) && (
|
||||
{(!isAuthProviderLDAP) && (
|
||||
<div className="mt-8" onClick={onClickForgotPassword}>
|
||||
<Typography.Link underline data-testid="forgot-password">
|
||||
{t('label.forgot-password')}
|
||||
</Typography.Link>
|
||||
</div>
|
||||
)}
|
||||
{(authConfig?.enableSelfSignup) && (!isAuthProviderLDAP) && (
|
||||
<>
|
||||
<Divider className="w-min-0 mt-8 mb-12 justify-center">
|
||||
<Typography.Text className="text-sm" type="secondary">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user