安装后。登录强制注册才能正常使用!我们只要在服务器SSH登录后
执行:
宝塔7.7版本系列:
rm -f /www/server/panel/data/bind.pl
就完成了。登录宝塔刷新一下,没有强制注册了。
==============
宝塔7.8版本系列:
SSH安装好宝塔后,执行:
rm -f /www/server/panel/data/bind.pl & rm -f /www/server/panel/data/sid.pl
wget -O/www/server/panel/data/userInfo.json https://www.btpanel.cm/api/shell/userInfo -t 10 & chattr +i /www/server/panel/data/userInfo.json
或者SSh登录修改 路径:www/server/panel/data/userInfo.json 修改成如下内容保存后,重启版面既可
{"id":2368442,"uid":882391,"state":1,"access_key":"X4cG2zekz9aOcmsZAJcisM2dlDQxJnw1","secret_key":"9mU8FYeShAPNThtM0sIWStCRWXVLXTbRYgx9DlnvxHvmCkWd","address":"45.13.245.173","addtime":1641877549,"username":"18664202383","idc_code":"ISamNe6k","area":"","serverid":"501fb583458415cf94b28270b3d8e5fc68f8093200254ca20cc5944ac8c100bf"}