Skip to content

Commit

Permalink
Fixed typo (#40608)
Browse files Browse the repository at this point in the history
  • Loading branch information
saalimzafar committed Sep 16, 2022
1 parent 7556611 commit 545ea5e
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.rpassword.value) {
if (body.password !== e.currentTarget.password.value) {
setErrorMsg(`The passwords don't match`)
return
}
Expand Down

0 comments on commit 545ea5e

Please sign in to comment.