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