From ce7302cab729a12d3d17ea4127e8c57d1fb1f147 Mon Sep 17 00:00:00 2001 From: AGSTR <144728914+agstrxyz@users.noreply.github.com> Date: Wed, 10 Jul 2024 20:37:03 +0700 Subject: [PATCH] Update home.php --- system/controllers/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/home.php b/system/controllers/home.php index 7cc84fd5..87641d26 100644 --- a/system/controllers/home.php +++ b/system/controllers/home.php @@ -210,7 +210,7 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) { } } -if (!empty($_SESSION['nux-mac']) && !empty($_SESSION['nux-ip'])) { +if (!empty($_SESSION['nux-mac']) && !empty($_SESSION['nux-ip'] && $_c['hs_auth_method'] != 'hchap')) { $ui->assign('nux_mac', $_SESSION['nux-mac']); $ui->assign('nux_ip', $_SESSION['nux-ip']); $bill = ORM::for_table('tbl_user_recharges')->where('id', $_GET['id'])->where('username', $user['username'])->findOne();