mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Redirect back to cp page after disconnection of user
This commit is contained in:
parent
7c563481da
commit
283dc8a0ec
@ -31,6 +31,12 @@
|
||||
|
||||
require("guiconfig.inc");
|
||||
|
||||
if ($_GET['act'] == "del") {
|
||||
captiveportal_disconnect_client($_GET['id']);
|
||||
Header("status_captiveportal.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$captiveportallck = lock('captiveportal');
|
||||
$concurrent = `cat /var/db/captiveportal.db | wc -l`;
|
||||
$cpcontents = file("/var/db/captiveportal.db", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
||||
@ -48,10 +54,6 @@ include("head.inc");
|
||||
<p class="pgtitle"><?=$pgtitle?></p>
|
||||
<?php
|
||||
|
||||
if ($_GET['act'] == "del") {
|
||||
captiveportal_disconnect_client($_GET['id']);
|
||||
}
|
||||
|
||||
flush();
|
||||
|
||||
function clientcmp($a, $b) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user