From 27de79fd6ca21deaaf148bb9d9641a2bce7e2ebc Mon Sep 17 00:00:00 2001 From: Saalim Zafar Date: Fri, 16 Sep 2022 17:00:23 +0530 Subject: [PATCH] Fixed typo --- 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 ce53354be1a8..1de3253d3cce 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.rpassword.value) { + if (body.password !== e.currentTarget.password.value) { setErrorMsg(`The passwords don't match`) return }