Skip to content

Commit

Permalink
Revert "Fixed typo (#40608)"
Browse files Browse the repository at this point in the history
This reverts commit 545ea5e.
  • Loading branch information
ijjk committed Sep 16, 2022
1 parent 545ea5e commit 8ea8d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-passport-and-next-connect/pages/signup.js
Expand Up @@ -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
}
Expand Down

0 comments on commit 8ea8d9c

Please sign in to comment.