Commit 7891a044 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add authenticated_via to access controller

parent 46165bdb
......@@ -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) {
......
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