luci-base: make logout link depend on luci-base ACL
Fixes: #3966 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
8f67311c26
commit
f44ba4811d
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@
|
||||||
"type": "call",
|
"type": "call",
|
||||||
"module": "luci.controller.admin.index",
|
"module": "luci.controller.admin.index",
|
||||||
"function": "action_logout"
|
"function": "action_logout"
|
||||||
|
},
|
||||||
|
"depends": {
|
||||||
|
"acl": [ "luci-base" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue