hotspot plan radius

This commit is contained in:
Ibnu Maksum
2023-10-03 15:46:55 +07:00
parent 9e33a5740b
commit ce01771800
15 changed files with 393 additions and 242 deletions

View File

@ -89,9 +89,7 @@ switch ($action) {
$msg .= $_L['Router_already_exist'] . '<br>';
}
if (!$config['radius_mode']) {
Mikrotik::getClient($ip_address, $username, $password);
}
Mikrotik::getClient($ip_address, $username, $password);
if ($msg == '') {
run_hook('add_router'); #HOOK
@ -149,9 +147,7 @@ switch ($action) {
}
if (!$config['radius_mode']) {
Mikrotik::getClient($ip_address, $username, $password);
}
Mikrotik::getClient($ip_address, $username, $password);
if ($msg == '') {