Merge pull request #1020 from champ3oy/patch-1

convert email to lower case when loging in
This commit is contained in:
Mauricio Siu
2024-12-29 13:34:27 -06:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ export default function Home({ IS_CLOUD }: Props) {
const onSubmit = async (values: Login) => { const onSubmit = async (values: Login) => {
await mutateAsync({ await mutateAsync({
email: values.email, email: values.email.toLowerCase(),
password: values.password, password: values.password,
}) })
.then((data) => { .then((data) => {