From: mkasper Date: Sun, 8 Jan 2006 10:43:34 +0000 (+0000) Subject: Log captive portal logins even when authentication is disabled. X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aa0f2450e2732ed691a542a50fcfa8246785301;p=m0n0chwall.git Log captive portal logins even when authentication is disabled. git-svn-id: https://svn.m0n0.ch/wall/trunk@29 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- diff --git a/captiveportal/index.php b/captiveportal/index.php index daa2b16..ae5488c 100644 --- a/captiveportal/index.php +++ b/captiveportal/index.php @@ -167,6 +167,7 @@ EOD; portal_reply_page($redirurl, "error"); } } else if ($_POST['accept'] && $clientip) { + captiveportal_logportalauth("unauthenticated",$clientmac,$clientip,"ACCEPT"); portal_allow($clientip, $clientmac, "unauthenticated"); } else { /* display captive portal page */