mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
captive portal: fix idle timeout for #150
This commit is contained in:
parent
6048c12618
commit
f51edf44a5
@ -656,7 +656,7 @@ class CPClient
|
||||
foreach ($clients as $client) {
|
||||
$idle_time = 0;
|
||||
if (array_key_exists($client->ip, $acc_list)) {
|
||||
$idle_time = $acc_list[$client->ip];
|
||||
$idle_time = $acc_list[$client->ip]['idle_time'];
|
||||
}
|
||||
|
||||
// if session timeout is reached, disconnect
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user