mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-17 20:57:54 +02:00
Fix password validator for creating fetched accounts
This commit is contained in:
parent
d301de7d83
commit
34b31727c4
@ -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
|
||||
-------------------
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user