Fix the user create form

master
Pierre Jaury 9 years ago
parent 5c1441486b
commit 0668f9abc9

@ -21,7 +21,7 @@ class UserForm(Form):
localpart = fields.StringField('E-mail', [validators.DataRequired()]) localpart = fields.StringField('E-mail', [validators.DataRequired()])
pw = fields.PasswordField('Password', [validators.DataRequired()]) pw = fields.PasswordField('Password', [validators.DataRequired()])
pw2 = fields.PasswordField('Confirm password', [validators.EqualTo('pw')]) pw2 = fields.PasswordField('Confirm password', [validators.EqualTo('pw')])
quota_bytes = fields_.DecimalSliderField('Quota', default=1000000000) quota_bytes = fields_.IntegerSliderField('Quota', default=1000000000)
enable_imap = fields.BooleanField('Allow IMAP access', default=True) enable_imap = fields.BooleanField('Allow IMAP access', default=True)
enable_pop = fields.BooleanField('Allow POP3 access', default=True) enable_pop = fields.BooleanField('Allow POP3 access', default=True)
comment = fields.StringField('Comment') comment = fields.StringField('Comment')

Loading…
Cancel
Save