Small improvement on new ChangeEmailSection section to hide it on LDAP users

This commit is contained in:
Carlos Monastyrski
2025-09-09 16:11:32 -03:00
parent 45ee9a60b2
commit 76168c9588
@@ -17,7 +17,7 @@ export const PersonalAuthTab = () => {
</> </>
)} )}
<ChangePasswordSection /> <ChangePasswordSection />
<ChangeEmailSection /> {user && !user.authMethods.includes(AuthMethod.LDAP) && <ChangeEmailSection />}
</div> </div>
); );
}; };