From 34b31727c4ae230cf3dffa65c779046e0e129bff Mon Sep 17 00:00:00 2001 From: Dario Ernst Date: Fri, 25 Jan 2019 15:08:41 +0100 Subject: [PATCH] Fix password validator for creating fetched accounts --- CHANGELOG.md | 3 ++- core/admin/mailu/ui/views/fetches.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbd22a47..a3746e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ v1.6.1 - unreleased ------------------- - Enhancement: Make Unbound drop privileges after binding to port - Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829)) - +- Bug: Fix creating new fetched accounts +- v1.6.0 - 2019-01-18 ------------------- diff --git a/core/admin/mailu/ui/views/fetches.py b/core/admin/mailu/ui/views/fetches.py index f2049fe9..ec208af1 100644 --- a/core/admin/mailu/ui/views/fetches.py +++ b/core/admin/mailu/ui/views/fetches.py @@ -22,7 +22,7 @@ def fetch_create(user_email): user_email = user_email or flask_login.current_user.email user = models.User.query.get(user_email) or flask.abort(404) form = forms.FetchForm() - form.pw.validators = [wtforms.validators.DataRequired()] + form.password.validators = [wtforms.validators.DataRequired()] if form.validate_on_submit(): fetch = models.Fetch(user=user) form.populate_obj(fetch)