Skip to content

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

Fix greptile finding

Carlos Monastyrskibf8a0ffb9172
diff --git a/backend/src/ee/services/pam-account/pam-account-schemas.ts b/backend/src/ee/services/pam-account/pam-account-schemas.ts
index c6e3a48b60..1263294594 100644
--- a/backend/src/ee/services/pam-account/pam-account-schemas.ts
+++ b/backend/src/ee/services/pam-account/pam-account-schemas.ts
@@ -339,9 +339,7 @@ export const ACCOUNT_TYPE_CONFIGS = {
password: z
.string()
.trim()
- .max(ORACLE_MAX_PASSWORD_LENGTH, {
- message: `Oracle passwords are limited to ${ORACLE_MAX_PASSWORD_LENGTH} characters`
- })
+ .max(256)
.transform((v) => v || undefined)
.optional()
}),