朱纯树博客
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测评推荐网站 - 朱纯树博客 » 通过修改代码解决宝塔面板强制绑定手机号

评论 642

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

    telmisartan does manforce staylong gel work President Barack Obama convened a meeting on Tuesday with Secretary of Defense Chuck Hagel and other national security aides to discuss U clomid success rate

    inwakly10小时前回复
  2. #644

    Drug information. Medscape Drugs & Diseases.
    how much is ivermectin
    What side effects can this medication cause? Everything about medicine.

    Zacharybor2天前回复
  3. #643

    Read here. Definitive journal of drugs and therapeutics.
    https://stromectolst.com/# ivermectin for sale
    What side effects can this medication cause? Everything about medicine.

    Ronaldhax2天前回复
  4. #642

    Read here. All trends of medicament.
    ivermectin 200mg
    Read information now. Read information now.

    KevinCaf2天前回复
  5. #641

    Get information now. Best and news about drug.
    stromectol ivermectin buy
    Long-Term Effects. Get information now.

    Jesselap3天前回复
  6. #640

    Long-Term Effects. Get warning information here.
    ivermectin 8 mg
    Actual trends of drug. Get information now.

    KevinCaf4天前回复
  7. #639

    п»їMedicament prescribing information. drug information and news for professionals and consumers.
    ivermectin 9 mg
    Long-Term Effects. Prescription Drug Information, Interactions & Side.

    Ronaldhax4天前回复
  8. #638

    This meta analyses included only some of the observational studies published on this topic up to 2013 buy priligy usa

  9. #637

    earch our drug database. Drug information.
    https://stromectolst.com/# cost of ivermectin
    Get warning information here. All trends of medicament.

    Zacharybor4天前回复
  10. #636

    Everything information about medication. Cautions.
    ivermectin for humans
    Everything about medicine. Some are medicines that help people when doctors prescribe.

    Ronaldhax5天前回复
  11. #635

    lasix to torsemide conversion Breast cancer is the number one cause of cancer death in European women, claiming the lives of more than 150, 000 women in 2018

  12. #634

    tadalafil generic vs cialis In case of overdose, immediately reach out to your healthcare professional in order to control all the symptoms and prevent any life threatening event