A-A+

宝塔面板取消强制登陆绑定账号

2021年03月15日 宝塔管理助手 暂无评论 阅读 813 次浏览 次

链接SSH:

一键去除

 
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

手动修改

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

找到这个文件,搜索

 
bind_user

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

改成

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

需要还原就改成上面那个就可以了。

标签:

评论已关闭!

Copyright © 香港虚拟主机_美国虚拟主机_香港服务器_美国服务器租用托管 保留所有权利.   Theme  Ality 蜀ICP备14006632号-1

用户登录