summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/priv.inc
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-02-03 11:01:47 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-02-03 11:02:15 -0500
commit5d916fc76a1ffcd4d7b446ff063ecfd25f5dfad5 (patch)
treecfe761ee273bbff21741825ba06d9f53e4600633 /src/etc/inc/priv.inc
parentf519f112e034b35a3288be215110d93fa84e77f4 (diff)
downloadpfsense-5d916fc76a1ffcd4d7b446ff063ecfd25f5dfad5.zip
pfsense-5d916fc76a1ffcd4d7b446ff063ecfd25f5dfad5.tar.gz
Improvements to the priviledge filter functionality
Diffstat (limited to 'src/etc/inc/priv.inc')
-rw-r--r--src/etc/inc/priv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/priv.inc b/src/etc/inc/priv.inc
index b834daa..6315f72 100644
--- a/src/etc/inc/priv.inc
+++ b/src/etc/inc/priv.inc
@@ -338,7 +338,7 @@ function getAllowedPages($username, &$attributes = array()) {
function sort_user_privs($privs) {
// Privileges to place first, to redirect properly.
- $priority_privs = array("page-dashboard-all", "page-system-login/logout");
+ $priority_privs = array("page-dashboard-all", "page-system-login-logout");
$fprivs = array_intersect($privs, $priority_privs);
$sprivs = array_diff($privs, $priority_privs);
OpenPOWER on IntegriCloud