Commits

Cédric Bonhomme  committed 4d29f85

TextField replaced by PasswordField in the ProfileForm form.

  • Participants
  • Parent commits fd226e4

Comments (0)

Files changed (1)

File pyaggr3g470r/forms.py

     firstname = TextField("First name", [validators.Required("Please enter your first name.")])
     lastname = TextField("Last name", [validators.Required("Please enter your last name.")])
     email = TextField("Email", [validators.Required("Please enter your email.")])
-    password = TextField("Password")
+    password = PasswordField("Password")
     submit = SubmitField("Save")
 
     def __init__(self, *args, **kwargs):