1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-09 13:23:54 +02:00

Fix password validator for creating fetched accounts

(cherry picked from commit 34b31727c4ae230cf3dffa65c779046e0e129bff)

# Conflicts:
#	CHANGELOG.md
#	core/admin/mailu/ui/views/fetches.py
This commit is contained in:
Dario Ernst 2019-01-25 15:08:41 +01:00 committed by Mergify
parent 6b5bb5fcd1
commit a26ec27290
2 changed files with 8 additions and 0 deletions

View File

@ -563,9 +563,14 @@ deprecated before 1.8.0, you can switch to an external database server by then.
- Enhancement: Make Unbound drop privileges after binding to port
- Enhancement: Stop using static assets, but build them using Webpack
- Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829))
<<<<<<< HEAD
- Enhancement: Automatically create admin user on container startup if given appropriate environment variables
- Enhancement: Missing wildcard option in alias flask command ([#869](https://github.com/Mailu/Mailu/issues/869))
=======
- Bug: Fix creating new fetched accounts
-
>>>>>>> 34b31727 (Fix password validator for creating fetched accounts)
v1.6.0 - 2019-01-18
-------------------

View File

@ -28,7 +28,10 @@ def fetch_create(user_email):
user = models.User.query.get(user_email) or flask.abort(404)
form = forms.FetchForm()
form.password.validators = [wtforms.validators.DataRequired()]
<<<<<<< HEAD
utils.formatCSVField(form.folders)
=======
>>>>>>> 34b31727 (Fix password validator for creating fetched accounts)
if form.validate_on_submit():
fetch = models.Fetch(user=user)
form.populate_obj(fetch)