class MyConfirmRegisterForm(ConfirmRegisterForm):
     email = TextField('My Confirm Register Email Address Field')
 class MySendConfirmationForm(SendConfirmationForm):
     email = TextField('My Send Confirmation Email Address Field')
 class MyPasswordlessLoginForm(PasswordlessLoginForm):
     email = TextField('My Passwordless Login Email Address Field')
 class MyForgotPasswordForm(ForgotPasswordForm):
     email = TextField('My Forgot Password Email Address Field',
                       validators=[valid_user_email])
 class MyRegisterForm(RegisterForm):
     email = TextField('My Register Email Address Field')
 class MyLoginForm(LoginForm):
     email = TextField('My Login Email Address Field')
示例#7
0
class ExtendedRegisterForm(RegisterForm):
    username = TextField('Username', [Required(), unique_username])