Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
90a08cb731 | |||
5df998874a |
@ -95,7 +95,7 @@ foreach ($d as $ds){
|
||||
$client->sendSync($setRequest);
|
||||
|
||||
//remove hotspot active
|
||||
$onlineRequest = new RouterOS\Request('/ppp/secret/print');
|
||||
$onlineRequest = new RouterOS\Request('/ppp/active/print');
|
||||
$onlineRequest->setArgument('.proplist', '.id');
|
||||
$onlineRequest->setQuery(RouterOS\Query::where('name', $c['username']));
|
||||
$id = $client->sendSync($onlineRequest)->getProperty('.id');
|
||||
@ -110,5 +110,3 @@ foreach ($d as $ds){
|
||||
echo " : ACTIVE \r\n";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -205,7 +205,7 @@ VALUES
|
||||
1,
|
||||
'admin',
|
||||
'Administrator',
|
||||
'YWRtaW46ODNlNDA2MGUtNzhlMS00ZmU1LTk5NzctYWVlY2NkNDZhMmI4',
|
||||
'7c4a8d09ca3762af61e59520943dc26494f8941b',
|
||||
'Admin',
|
||||
'Active',
|
||||
'2015-10-30 18:27:02',
|
||||
|
Reference in New Issue
Block a user