Skip to content

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

Address feedbacks

Fang-Pen Lin4964e6079302
diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RedisAccountForm.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RedisAccountForm.tsx
index 882313f21a..264fde2a14 100644
--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RedisAccountForm.tsx
+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/RedisAccountForm.tsx
@@ -18,16 +18,8 @@ type Props = {
const formSchema = genericAccountFieldsSchema.extend({
credentials: z.object({
- username: z
- .string()
- .trim()
- .min(1, "Username required")
- .max(63, "Username must be 63 characters or less"),
- password: z
- .string()
- .trim()
- .min(1, "Password required")
- .max(256, "Password must be 256 characters or less")
+ username: z.string().trim().max(256, "Username must be 255 characters or less"),
+ password: z.string().max(256, "Password must be 256 characters or less")
}),
// We don't support rotation for now, just feed a false value to
// make the schema happy