Opened 3 years ago

Closed 3 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 Changed 3 years ago by Cas

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 Changed 3 years ago by Cas

Fixed in develop [632089940c]

comment:3 Changed 3 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.