Commit 2db9f6a7 authored by Ad Schellevis's avatar Ad Schellevis

Merge branch 'master' of github.com:opnsense/core

parents 4a589ec8 ae1b610c
......@@ -213,7 +213,6 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$message = 0;
include("/var/etc/captiveportal-{$cpzone}-logout.html");
}
return $sessionid;
......@@ -224,8 +223,8 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
//
/* reinit will disconnect all users, be careful! */
function captiveportal_init_rules($reinit = false) {
function captiveportal_init_rules($reinit = false)
{
$cpc = new OPNsense\CaptivePortal\CPClient();
$cpc->reconfigure();
unset($cpc);
......
......@@ -3,7 +3,5 @@ socket_filename:/var/run/configd.socket
pid_filename:/var/run/configd.pid
[environment]
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
HOME=/
USER=root
SHELL=/usr/local/etc/rc.initial
......@@ -129,7 +129,6 @@ if (isset($_POST['save'])) {
}
}
if (!$input_errors) {
$group = array();
if (isset($id) && $a_group[$id]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment