From 8adf41bf75a92aa2ff1134903128e0b80e8fcd57 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 9 Aug 2024 14:48:19 +0700 Subject: [PATCH] accounting dont use Mac as identity, just username --- radius.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/radius.php b/radius.php index 456d6e8f..78285aba 100644 --- a/radius.php +++ b/radius.php @@ -166,7 +166,6 @@ try { header("HTTP/1.1 200 ok"); $d = ORM::for_table('rad_acct') ->where('username', $username) - ->where('macaddr', _post('macAddr')) ->where('acctstatustype', _post('acctStatusType')) ->findOne(); if (!$d) { @@ -178,7 +177,6 @@ try { // log in the Start only $start = ORM::for_table('rad_acct') ->where('username', $username) - ->where('macaddr', _post('macAddr')) ->where('acctstatustype', 'Start') ->findOne(); if (!$start) {