mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Small improvement on new ChangeEmailSection section to hide it on LDAP users
This commit is contained in:
@@ -17,7 +17,7 @@ export const PersonalAuthTab = () => {
|
||||
</>
|
||||
)}
|
||||
<ChangePasswordSection />
|
||||
<ChangeEmailSection />
|
||||
{user && !user.authMethods.includes(AuthMethod.LDAP) && <ChangeEmailSection />}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user