From 4d2d4a59e4711c12bb756c2f7f446f3c63302a2f Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 4 Feb 2019 11:46:31 +0100 Subject: fix: edition of user's password was broken --- src/web/controllers/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/controllers') 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'] -- cgit