mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-09-20 06:46:22 +08:00
accounting dont use Mac as identity, just username
This commit is contained in:
parent
85ede07d77
commit
8adf41bf75
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue