From ed006dc5f9ffb16378ad2dbe2b14dfa0c9fedd83 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 28 Apr 2026 18:08:37 -0600 Subject: [PATCH 1/2] fix: enforce email length validation in reset password form - Added a maximum length constraint of 255 characters for the email input field. - Updated validation schema to include a message for exceeding the maximum length. --- apps/dokploy/pages/send-reset-password.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/pages/send-reset-password.tsx b/apps/dokploy/pages/send-reset-password.tsx index 8fa6be81f..ab706d289 100644 --- a/apps/dokploy/pages/send-reset-password.tsx +++ b/apps/dokploy/pages/send-reset-password.tsx @@ -30,6 +30,9 @@ const loginSchema = z.object({ .min(1, { message: "Email is required", }) + .max(255, { + message: "Email must be at most 255 characters", + }) .email({ message: "Email must be a valid email", }), @@ -118,7 +121,7 @@ export default function Home() { Email - + From 34564aec84cf13b76d0445bf81a03f11790cad6a Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 00:09:17 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- apps/dokploy/pages/send-reset-password.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/pages/send-reset-password.tsx b/apps/dokploy/pages/send-reset-password.tsx index ab706d289..e4c315c60 100644 --- a/apps/dokploy/pages/send-reset-password.tsx +++ b/apps/dokploy/pages/send-reset-password.tsx @@ -121,7 +121,11 @@ export default function Home() { Email - +