Merge pull request #36 from hotspotbilling/Development

Fix bug setPpoeUser
This commit is contained in:
iBNu Maksum 2023-06-08 15:06:11 +07:00 committed by GitHub
commit 0d30aaf8fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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');

View file

@ -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"
}