aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/admin.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-27 00:34:45 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-27 00:34:45 +0200
commitaedd03eb00c5584e180202bf4beadfc3888dbfb8 (patch)
treeb0bb69c1be2f2e3adfe4a9f702bd3c1ea66ef900 /src/web/views/admin.py
parentFilter feeds per category on the user profile page. (diff)
parentUpdated NPM engine. (diff)
downloadnewspipe-aedd03eb00c5584e180202bf4beadfc3888dbfb8.tar.gz
newspipe-aedd03eb00c5584e180202bf4beadfc3888dbfb8.tar.bz2
newspipe-aedd03eb00c5584e180202bf4beadfc3888dbfb8.zip
Merge branch 'master' of gitlab.com:newspipe/newspipe
Diffstat (limited to 'src/web/views/admin.py')
-rw-r--r--src/web/views/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index 07c4f974..2e97ff36 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -61,7 +61,7 @@ def process_user_form(user_id=None):
# Edit a user
user_contr.update({'id': user_id},
{'nickname': form.nickname.data,
- 'password': form.password.data,
+ 'pwdhash': generate_password_hash(form.password.data),
'automatic_crawling': form.automatic_crawling.data})
user = user_contr.get(id=user_id)
flash(gettext('User %(nick)s successfully updated',
bgstack15