mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
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.
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user