据说现在国内机器安装的宝塔都需要手机登入验证,博主未曾尝试也未出现弹窗,因为国内没几台VPS。
这里转自hostloc某大佬的教程:
先安装宝塔,如果登陆啥事都没有那最好
如果提示必须要登陆宝塔账户
那么,在terminal里执行sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js完工
同理,如果要还原sed -i "s|if (bind_user == 'REMOVED') {|if (bind_user == 'True') {|g" /www/server/panel/BTPanel/static/js/index.js