去掉宝塔强制登陆绑定账号

一键去除

连接SSH

sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js

手动修改

/www/server/panel/BTPanel/static/js/index.js

找到这个文件,搜索

bind_user

if (bind_user == 'True') {
    show_force_bind();
}

改成

if (bind_user == 'REMOVED') {
    show_force_bind();
}
© 版权声明
THE END
喜欢就支持以下吧
点赞13赞赏 分享
评论 抢沙发
头像
请认真填写,胡乱按键盘或文字不通不会审核通过!
提交
头像

昵称

取消
昵称表情图片