Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

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

Carlos Monastyrski76168c9588d9
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/PersonalAuthTab/PersonalAuthTab.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/PersonalAuthTab/PersonalAuthTab.tsx
index 49060f166a..2230f1a004 100644
--- a/frontend/src/pages/user/PersonalSettingsPage/components/PersonalAuthTab/PersonalAuthTab.tsx
+++ b/frontend/src/pages/user/PersonalSettingsPage/components/PersonalAuthTab/PersonalAuthTab.tsx
@@ -17,7 +17,7 @@ export const PersonalAuthTab = () => {
</>
)}
<ChangePasswordSection />
- <ChangeEmailSection />
+ {user && !user.authMethods.includes(AuthMethod.LDAP) && <ChangeEmailSection />}
</div>
);
};