mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
fix: requested changes
This commit is contained in:
@@ -148,7 +148,7 @@ export const registerIdentityLdapAuthRouter = async (server: FastifyZodProvider)
|
|||||||
},
|
},
|
||||||
|
|
||||||
handler: async (req) => {
|
handler: async (req) => {
|
||||||
if (!req.passportMachineIdentity?.identityId || !req.passportMachineIdentity.user.uid) {
|
if (!req.passportMachineIdentity?.identityId) {
|
||||||
throw new UnauthorizedError({ message: "Invalid request. Missing identity ID or LDAP entry details." });
|
throw new UnauthorizedError({ message: "Invalid request. Missing identity ID or LDAP entry details." });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -446,7 +446,7 @@ export const IdentityLdapAuthForm = ({
|
|||||||
leftIcon={<FontAwesomeIcon icon={faPlus} />}
|
leftIcon={<FontAwesomeIcon icon={faPlus} />}
|
||||||
size="xs"
|
size="xs"
|
||||||
>
|
>
|
||||||
Add Allowed Field
|
Add Required Attribute
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user