Example #1
0
class SetEmailAndPasswordForm(ResetPasswordForm):
    token = HiddenField()
    accepted_terms_of_service = BooleanField(
        [
            validators.Required(message=u'This field is required'),
        ]
    )
Example #2
0
class SetEmailAndPasswordForm(ResetPasswordForm):
    token = HiddenField()
Example #3
0
class SetEmailAndPasswordForm(ResetPasswordForm):
    username = unique_email_field
    token = HiddenField()