Merge pull request #36 from hotspotbilling/Development
Fix bug setPpoeUser
This commit is contained in:
commit
0d30aaf8fa
@ -196,7 +196,7 @@ class Mikrotik
|
|||||||
public static function setPpoeUser($client, $user, $pass, $nuser= null){
|
public static function setPpoeUser($client, $user, $pass, $nuser= null){
|
||||||
$printRequest = new RouterOS\Request('/ppp/secret/print');
|
$printRequest = new RouterOS\Request('/ppp/secret/print');
|
||||||
$printRequest->setArgument('.proplist', '.id');
|
$printRequest->setArgument('.proplist', '.id');
|
||||||
$printRequest->setQuery(RouterOS\Query::where('name', $user['username']));
|
$printRequest->setQuery(RouterOS\Query::where('name', $user));
|
||||||
$id = $client->sendSync($printRequest)->getProperty('.id');
|
$id = $client->sendSync($printRequest)->getProperty('.id');
|
||||||
|
|
||||||
$setRequest = new RouterOS\Request('/ppp/secret/set');
|
$setRequest = new RouterOS\Request('/ppp/secret/set');
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "2023.6.6",
|
"version": "2023.6.8",
|
||||||
"changes" : "Fixing registration without OTP, Username will not go to phonenumber"
|
"changes" : "Fixing registration without OTP, Username will not go to phonenumber, fix bug ppoe"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user