forked from kevinowino869/mitrobill
just added self Registration,
customer must have voucher before register
This commit is contained in:
@ -44,6 +44,7 @@ foreach ($d as $ds){
|
||||
} catch (Exception $e) {
|
||||
die('Unable to connect to the router.');
|
||||
}
|
||||
|
||||
$printRequest = new RouterOS\Request('/ip/hotspot/user/print');
|
||||
$printRequest->setArgument('.proplist', '.id');
|
||||
$printRequest->setQuery(RouterOS\Query::where('name', $c['username']));
|
||||
|
Reference in New Issue
Block a user