mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-11 01:34:03 +08:00
Merge pull request #36 from hotspotbilling/Development
Fix bug setPpoeUser
This commit is contained in:
commit
0d30aaf8fa
2 changed files with 3 additions and 3 deletions
|
@ -196,7 +196,7 @@ class Mikrotik
|
|||
public static function setPpoeUser($client, $user, $pass, $nuser= null){
|
||||
$printRequest = new RouterOS\Request('/ppp/secret/print');
|
||||
$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');
|
||||
|
||||
$setRequest = new RouterOS\Request('/ppp/secret/set');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"version": "2023.6.6",
|
||||
"changes" : "Fixing registration without OTP, Username will not go to phonenumber"
|
||||
"version": "2023.6.8",
|
||||
"changes" : "Fixing registration without OTP, Username will not go to phonenumber, fix bug ppoe"
|
||||
}
|
Loading…
Reference in a new issue