aboutsummaryrefslogtreecommitdiff
path: root/src/web/controllers
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2019-05-11 22:34:51 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2019-05-11 22:34:51 +0200
commit75b8f2230065ccedcc602b054305d08d0e450b8b (patch)
tree5563a09c69da096a4d19083637589af84a8b7068 /src/web/controllers
parentUpdated README. (diff)
parentfix: edition of user's password was broken (diff)
downloadnewspipe-75b8f2230065ccedcc602b054305d08d0e450b8b.tar.gz
newspipe-75b8f2230065ccedcc602b054305d08d0e450b8b.tar.bz2
newspipe-75b8f2230065ccedcc602b054305d08d0e450b8b.zip
Merge branch 'master' of gitlab.com:newspipe/newspipe
Diffstat (limited to 'src/web/controllers')
-rw-r--r--src/web/controllers/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/controllers/user.py b/src/web/controllers/user.py
index 1b5c123e..65e01e6f 100644
--- a/src/web/controllers/user.py
+++ b/src/web/controllers/user.py
@@ -12,7 +12,7 @@ class UserController(AbstractController):
def _handle_password(self, attrs):
if attrs.get('password'):
- attrs['password'] = generate_password_hash(attrs.pop('password'))
+ attrs['pwdhash'] = generate_password_hash(attrs.pop('password'))
elif 'password' in attrs:
del attrs['password']
bgstack15