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