JJ Kasper 2022-09-16 12:53:12 -07:00 committed by GitHub
parent 545ea5ec25
commit ff1a182b51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}