mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-29 17:49:14 +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> | ||||||
|                 )} |                 )} | ||||||
|  |                 {(!isAuthProviderLDAP) && ( | ||||||
|                   <div className="mt-8" onClick={onClickForgotPassword}> |                   <div className="mt-8" onClick={onClickForgotPassword}> | ||||||
|                     <Typography.Link underline data-testid="forgot-password"> |                     <Typography.Link underline data-testid="forgot-password"> | ||||||
|                       {t('label.forgot-password')} |                       {t('label.forgot-password')} | ||||||
|                     </Typography.Link> |                     </Typography.Link> | ||||||
|                   </div> |                   </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
	 Thiago Pires
						Thiago Pires