I can\'t find out what\'s the cause of this error
TypeError: __init__() takes at most 2 arguments (3 given)
which is pointing to
You didn't call one of your validators:
password = PasswordField('Password', validators=[DataRequired])
Add ():
()
password = PasswordField('Password', validators=[DataRequired()])