Add field to ui for user enabled flag

This commit is contained in:
Stefan Auditor
2018-04-15 11:35:37 +02:00
parent f585197e52
commit 7139a27bf1
2 changed files with 2 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ class UserForm(flask_wtf.FlaskForm):
enable_imap = fields.BooleanField(_('Allow IMAP access'), default=True)
enable_pop = fields.BooleanField(_('Allow POP3 access'), default=True)
comment = fields.StringField(_('Comment'))
enabled = fields.BooleanField(_('Enabled'), default=True)
submit = fields.SubmitField(_('Save'))