mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
Fix remove User
This commit is contained in:
parent
4b96e2c311
commit
59e1cf7798
1 changed files with 2 additions and 2 deletions
|
@ -77,13 +77,13 @@ switch ($action) {
|
|||
if(!$config['radius_mode']){
|
||||
$client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
||||
Mikrotik::removeHotspotUser($client,$c['username']);
|
||||
Mikrotik::removeHotspotActiveUser($client,$user['username']);
|
||||
Mikrotik::removeHotspotActiveUser($client,$c['username']);
|
||||
}
|
||||
} else {
|
||||
if(!$config['radius_mode']){
|
||||
$client = Mikrotik::getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
||||
Mikrotik::removePpoeUser($client,$c['username']);
|
||||
Mikrotik::removePpoeActive($client,$user['username']);
|
||||
Mikrotik::removePpoeActive($client,$c['username']);
|
||||
}
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue