Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
fe45340c
Commit
fe45340c
authored
Oct 26, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style fix
parent
40d2aa86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
AccessController.php
...ntrollers/OPNsense/CaptivePortal/Api/AccessController.php
+3
-3
ServiceController.php
...trollers/OPNsense/CaptivePortal/Api/ServiceController.php
+1
-0
No files found.
src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/AccessController.php
View file @
fe45340c
...
@@ -109,7 +109,7 @@ class AccessController extends ApiControllerBase
...
@@ -109,7 +109,7 @@ class AccessController extends ApiControllerBase
/**
/**
* logon client to zone, must use post type of request
* logon client to zone, must use post type of request
* @param string zone id number
* @param
int|
string zone id number
* @return array
* @return array
*/
*/
public
function
logonAction
(
$zoneid
=
0
)
public
function
logonAction
(
$zoneid
=
0
)
...
@@ -208,7 +208,7 @@ class AccessController extends ApiControllerBase
...
@@ -208,7 +208,7 @@ class AccessController extends ApiControllerBase
/**
/**
* logoff client
* logoff client
* @param string zone id number
* @param
int|
string zone id number
* @return array
* @return array
*/
*/
public
function
logoffAction
(
$zoneid
=
0
)
public
function
logoffAction
(
$zoneid
=
0
)
...
@@ -240,7 +240,7 @@ class AccessController extends ApiControllerBase
...
@@ -240,7 +240,7 @@ class AccessController extends ApiControllerBase
/**
/**
* retrieve session info
* retrieve session info
* @param string zone id number
* @param
int|
string zone id number
* @return array
* @return array
*/
*/
public
function
statusAction
(
$zoneid
=
0
)
public
function
statusAction
(
$zoneid
=
0
)
...
...
src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/ServiceController.php
View file @
fe45340c
...
@@ -175,6 +175,7 @@ class ServiceController extends ApiControllerBase
...
@@ -175,6 +175,7 @@ class ServiceController extends ApiControllerBase
return
array
(
"name"
=>
(
string
)
$template
->
name
);
return
array
(
"name"
=>
(
string
)
$template
->
name
);
}
}
}
}
return
null
;
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment