From 906f61bb8a9e6df704e128768bf7686f22ac1a74 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 19 Oct 2015 16:46:47 +0200 Subject: [PATCH] (Captiveportal, new) fix $authServerName on anon login --- .../controllers/OPNsense/CaptivePortal/Api/AccessController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php b/src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php index b39c29fda..9d4e6c5fa 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php @@ -149,6 +149,7 @@ class AccessController extends ApiControllerBase } else { // no authentication needed, set username to "anonymous@ip" $userName = "anonymous@" . $clientIp; + $authServerName = ""; $isAuthenticated = true; }