Skip to content

Commit

Permalink
Revert "Fixed typo" (#40623)
Browse files Browse the repository at this point in the history
x-ref:
#40608 (review)

Reverts #40608
  • Loading branch information
ijjk committed Sep 16, 2022
1 parent 545ea5e commit ff1a182
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 ff1a182

Please sign in to comment.