From 5d2d4104f0b5dc65766239b13257d7c932e41b10 Mon Sep 17 00:00:00 2001 From: cirlorm Date: Sun, 29 Dec 2024 17:46:44 +0000 Subject: [PATCH] convert email to lower case when loging in I had an issue signing in to my dashboard only to find out it was because the first letter of my email was in caps. --- apps/dokploy/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/pages/index.tsx b/apps/dokploy/pages/index.tsx index ac196ff5..762796cc 100644 --- a/apps/dokploy/pages/index.tsx +++ b/apps/dokploy/pages/index.tsx @@ -81,7 +81,7 @@ export default function Home({ IS_CLOUD }: Props) { const onSubmit = async (values: Login) => { await mutateAsync({ - email: values.email, + email: values.email.toLowerCase(), password: values.password, }) .then((data) => {