example-react icon indicating copy to clipboard operation
example-react copied to clipboard

updated how validateBeforeCreateAccount() handles errors

Open pablohennique opened this issue 1 year ago • 3 comments

The following two checks in the validateBeforeCreateAccount() function would never be accessed if both email and password are present. They are found within if (!email || !password).

  if (password.length < MIN_LENGTH_PASS) 
  if (!REGEX_EMAIL.test(email)) 

pablohennique avatar Dec 12 '24 01:12 pablohennique

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
example-react ❌ Failed (Inspect) Dec 12, 2024 1:24am
fullstack-react-fgt6 ❌ Failed (Inspect) Dec 12, 2024 1:24am

vercel[bot] avatar Dec 12 '24 01:12 vercel[bot]

Someone is attempting to deploy a commit to the truong9x's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 12 '24 01:12 vercel[bot]

haha, sorry, i have many update, please pull again

truongnat avatar Jul 14 '25 01:07 truongnat