Opened 5 years ago

Closed 5 years ago

#3262 closed bug (Fixed)

WebUI cannot change password

Reported by: rasistasian Owned by:
Priority: minor Milestone: 2.0.3
Component: Web UI Version: 2.0.0
Keywords: Cc:

Description

i can't seem to change my webui password. The logs say

Error calling method `auth.change_password`: Unicode-objects must be encoded before hashing

Change History (3)

comment:1 by Calum, 5 years ago

Full backtrace:

12:36:26 [ERROR   ][deluge.ui.web.json_api     :1418] Unicode-objects must be encoded before hashing
Traceback (most recent call last):
  File "/home/calum/projects/deluge/deluge/ui/web/json_api.py", line 160, in _handle_request
    result = self._exec_local(method, params, request)
  File "/home/calum/projects/deluge/deluge/ui/web/json_api.py", line 122, in _exec_local
    return meth(*params)
  File "/home/calum/projects/deluge/deluge/ui/web/auth.py", line 219, in change_password
    return self._change_password(new_password)
  File "/home/calum/projects/deluge/deluge/ui/web/auth.py", line 201, in _change_password
    s = hashlib.sha1(salt)
TypeError: Unicode-objects must be encoded before hashing

comment:2 by Calum, 5 years ago

Fixed in develop [632089940c]

comment:3 by Calum, 5 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.