diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2019-05-11 22:34:51 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2019-05-11 22:34:51 +0200 |
commit | 75b8f2230065ccedcc602b054305d08d0e450b8b (patch) | |
tree | 5563a09c69da096a4d19083637589af84a8b7068 /src/web/controllers | |
parent | Updated README. (diff) | |
parent | fix: edition of user's password was broken (diff) | |
download | newspipe-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.py | 2 |
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'] |