(captiveportal, new) add authenticated_via to access controller

This commit is contained in:
Ad Schellevis 2015-09-29 18:17:47 +00:00
parent 46165bdb02
commit 7891a04426

View File

@ -129,7 +129,11 @@ class AccessController extends ApiControllerBase
$backend = new Backend();
$CPsession = $backend->configdpRun(
"captiveportal allow",
array((string)$cpZone->zoneid, $userName, $this->request->getClientAddress(), 'json')
array((string)$cpZone->zoneid,
$userName,
$this->request->getClientAddress(),
$authServerName,
'json')
);
$CPsession = json_decode($CPsession, true);
if ($CPsession != null) {