Implement change password

This commit is contained in:
rubenwardy
2020-12-04 23:07:19 +00:00
parent bfcdd642fd
commit 43aab057c8
15 changed files with 88 additions and 53 deletions

View File

@@ -59,7 +59,7 @@ def review(package):
form.comment.data = review.thread.replies[0].comment
# Validate and submit
elif request.method == "POST" and form.validate():
elif form.validate_on_submit():
was_new = False
if not review:
was_new = True