From ff1a182b515ff85f7aa748590bd1a243d7e06ebb Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 16 Sep 2022 12:53:12 -0700 Subject: [PATCH] Revert "Fixed typo" (#40623) x-ref: https://github.com/vercel/next.js/pull/40608#pullrequestreview-1111135945 Reverts vercel/next.js#40608 --- examples/with-passport-and-next-connect/pages/signup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-passport-and-next-connect/pages/signup.js b/examples/with-passport-and-next-connect/pages/signup.js index 1de3253d3cce..ce53354be1a8 100644 --- a/examples/with-passport-and-next-connect/pages/signup.js +++ b/examples/with-passport-and-next-connect/pages/signup.js @@ -16,7 +16,7 @@ export default function SignupPage() { name: e.currentTarget.name.value, } - if (body.password !== e.currentTarget.password.value) { + if (body.password !== e.currentTarget.rpassword.value) { setErrorMsg(`The passwords don't match`) return }