mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-17 00:01:06 +02:00
Fix bug setPpoeUser
Fix bug setPpoeUser
This commit is contained in:
commit
cf0725e6a5
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue