Website Migration Notice: SafePoint is now operated by CyberServal.Learn more →
Discussion

[Bug] 无法重置TOTP

Published 23 days ago

# Github Issue
# invalid

Published 23 days ago

profile_photo

BarryCui

Updated 23 days ago

0

What happened?

docker exec safeline-mgt resetadmin
panic: failed to init models: AutoMigrate Error: ERROR: could not open file "base/16384/16416": No such file or directory (SQLSTATE 58P01)

goroutine 1 [running]:
main.main()
/work/main.go:45 +0x1cc

How we reproduce?

  1. ...
  2. ...
  3. ...

Expected behavior

No response

Error log

No response

profile_photo

Windsley

Updated 23 days ago

0

经验证,目前在 9.4.0 版本中暂未复现该现象。

另外,反馈中的 resetadmin 用于重置管理员密码,并非重置 TOTP。如需重置 TOTP,请执行:

docker exec safeline-mgt resettotp

建议将使用版本升级至 9.4.0 后,再使用上述命令进行验证。若仍有异常,请补充具体操作步骤、现象及相关截图,以便进一步定位。