修改密码的时候提示:
Traceback (most recent call last):
File "tools.py", line 1323, in <module>
set_panel_pwd(sys.argv[2])
File "tools.py", line 159, in set_panel_pwd
result = public.M('users').where('id=?', (1,)).setField('password', public.password_salt(public.md5(password), uid=1))
File "/www/server/panel/class/public.py", line 3625, in password_salt
return md5(md5(password + '_bt.cn') + salt)
TypeError: can only concatenate str (not "list") to str
|