The fieldname for the EqualTo validator for the confirm field was confirm itself. Changed it to password.
parent
0a41588b95
commit
fe86142ef0
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ Now that we've done our object model, time to build the form that goes with it.
|
|||
password = PasswordField('Password', [Required()])
|
||||
confirm = PasswordField('Repeat Password', [
|
||||
Required(),
|
||||
EqualTo('confirm', message='Passwords must match')
|
||||
EqualTo('password', message='Passwords must match')
|
||||
])
|
||||
accept_tos = BooleanField('I accept the TOS', [Required()])
|
||||
recaptcha = RecaptchaField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue