fix: requested changes

This commit is contained in:
Daniel Hougaard
2025-05-08 23:20:18 +04:00
parent a3b7df4e6b
commit de443c5ea1
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ export const registerIdentityLdapAuthRouter = async (server: FastifyZodProvider)
},
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." });
}

View File

@@ -446,7 +446,7 @@ export const IdentityLdapAuthForm = ({
leftIcon={<FontAwesomeIcon icon={faPlus} />}
size="xs"
>
Add Allowed Field
Add Required Attribute
</Button>
</div>