mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
(captiveportal, new) add authenticated_via to access controller
This commit is contained in:
parent
46165bdb02
commit
7891a04426
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user