What happened? / 实际发生了什么?
密码忘记了,按Astebot使用文档内WEBUI忘记密码的操作方式“修改 data/cmd_config.json 文件内 dashboard 配置中的 password,将 password 整个键值对删除。”操作了。
重新登陆时提示“Login failed. If this is your first time using AstrBot, the old default astrbot password has been replaced by a random strong password printed in the startup logs. Check the initial password in the logs and try again. Learn more: https://docs.astrbot.app/en/faq.html 登录失败。如果您是初次使用,旧版默认 astrbot 密码已改为启动日志中输出的随机强密码。请使用日志中提供的的初始密码来登录。了解更多:https://docs.astrbot.app/”。
而桌面端应用启动时没有命令行日志窗口,看不到日志中的强密码,哪怕使用http://localhost:6185这个网页版的F12控制台也没东西。未登陆状态唯一能看到日志的是启动后运行的bot而不是用户,而bot也看不到启动前日志中的密码。cmd_config.json 文件内的密码又是哈希加密过的,MD5解码后的内容无论大小写都会提示密码错误。
Expected behavior / 预期行为
我认为桌面端或WEBUI应有在登录失败时的重置密码功能
Steps to reproduce / 复现步骤
忘记密码,然后尝试登陆
Desktop version / 桌面端版本
AstrBot4.26.7
Installation channel / 安装来源
GitHub Release installer
OS / 操作系统
Windows
Architecture / 架构
amd64
Upstream AstrBot ref used by desktop build (optional) / 桌面构建使用的上游 AstrBot Ref(可选)
No response
Logs, screenshots, and additional context / 日志、截图与补充信息
cmd_config.json
backend.log
desktop.log
Willing to submit a PR? / 是否愿意提交 PR?
Code of Conduct
What happened? / 实际发生了什么?
密码忘记了,按Astebot使用文档内WEBUI忘记密码的操作方式“修改 data/cmd_config.json 文件内 dashboard 配置中的 password,将 password 整个键值对删除。”操作了。
重新登陆时提示“Login failed. If this is your first time using AstrBot, the old default astrbot password has been replaced by a random strong password printed in the startup logs. Check the initial password in the logs and try again. Learn more: https://docs.astrbot.app/en/faq.html 登录失败。如果您是初次使用,旧版默认 astrbot 密码已改为启动日志中输出的随机强密码。请使用日志中提供的的初始密码来登录。了解更多:https://docs.astrbot.app/”。
而桌面端应用启动时没有命令行日志窗口,看不到日志中的强密码,哪怕使用http://localhost:6185这个网页版的F12控制台也没东西。未登陆状态唯一能看到日志的是启动后运行的bot而不是用户,而bot也看不到启动前日志中的密码。cmd_config.json 文件内的密码又是哈希加密过的,MD5解码后的内容无论大小写都会提示密码错误。
Expected behavior / 预期行为
我认为桌面端或WEBUI应有在登录失败时的重置密码功能
Steps to reproduce / 复现步骤
忘记密码,然后尝试登陆
Desktop version / 桌面端版本
AstrBot4.26.7
Installation channel / 安装来源
GitHub Release installer
OS / 操作系统
Windows
Architecture / 架构
amd64
Upstream AstrBot ref used by desktop build (optional) / 桌面构建使用的上游 AstrBot Ref(可选)
No response
Logs, screenshots, and additional context / 日志、截图与补充信息
cmd_config.json
backend.log
desktop.log
Willing to submit a PR? / 是否愿意提交 PR?
Code of Conduct