朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

通过修改代码解决宝塔面板强制绑定手机号

前言

通过修改代码解决宝塔面板强制绑定手机号插图

宝塔面板更新后,需要绑定宝塔官网账户才能使用,而且关还关不掉,那么今天就来教大家通过修改代码来解决这个问题

测试机器:恒星云沙田cn2

宝塔面板版本:7.4.5

正文

1.通过ssh连接服务器

2.连接成功后输入以下命令:

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

通过修改代码解决宝塔面板强制绑定手机号插图1

3.执行命令后会进入以下界面:

通过修改代码解决宝塔面板强制绑定手机号插图2

找到以下代码删除即可:

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

通过修改代码解决宝塔面板强制绑定手机号插图3

大致步骤如下:执行命令 vi /www/server/panel/BTPanel/static/js/index.js

然后按下 i ,找到相关代码删除后按 esc 然后输入 : wq 然后回车即可

搞完之后回到宝塔面板强制刷新一下,防止有缓存

这时,你会发现:可恶的弹窗没了

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 通过修改代码解决宝塔面板强制绑定手机号

评论 210

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #210

    no deposit free bonus casino
    top casino site
    casinos online real money

  2. #209

    best online canadian pharmacy legal to buy prescription drugs without prescription

    DarnellBrart5小时前回复
  3. #208

    best casino sites
    united states online casino
    top online casino real money

  4. #207

    Pretty! This was an extremely wonderful post. Thanks for providing these details.

  5. #206

    comfortis for dogs without vet prescription non prescription ed pills

    DarnellBrart1天前回复
  6. #205

    https://medrxfast.com/# discount prescription drugs

    ThomasBib2天前回复
  7. #204

    united states online casino
    bingo casino online
    free welcome bonus no deposit casino

  8. #203

    comfortis for dogs without vet prescription buy prescription drugs without doctor

    DarnellBrart3天前回复
  9. #202

    We are a group of volunteers and starting a new scheme in our
    community. Your site provided us with valuable information to work on. You’ve done a formidable job
    and our entire community will be thankful to you.

  10. #201

    no deposit casino
    usa casinos online
    free cash no deposit casino

  11. #200

    pet meds without vet prescription ed meds online without doctor prescription

    DarnellBrart4天前回复
  12. #199

    canadian drug prices buy canadian drugs

    DarnellBrart5天前回复
  13. #198

    https://medrxfast.com/# ed meds online without prescription or membership

    ThomasBib5天前回复
  14. #197

    pet meds without vet prescription buy prescription drugs online

    DarnellBrart6天前回复
  15. #196

    bingo online for money
    free sign up bonus no deposit casino
    online casino games that pay