宝塔面板修改密码出错
- Traceback (most recent call last):
- File "/www/server/panel/tools.py", line 1336, in <module>
- bt_cli(clinum)
- File "/www/server/panel/tools.py", line 1034, in bt_cli
- set_panel_pwd(input_pwd.strip(), True)
- File "/www/server/panel/tools.py", line 158, 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 3433, in password_salt
- return md5(md5(password+'_bt.cn')+salt)
- TypeError: can only concatenate str (not "list") to str
复制代码 |