git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
8f67311
)
luci-base: make logout link depend on luci-base ACL
author
Jo-Philipp Wich
<redacted>
Sat, 25 Apr 2020 11:52:15 +0000
(13:52 +0200)
committer
Jo-Philipp Wich
<redacted>
Sat, 25 Apr 2020 11:52:15 +0000
(13:52 +0200)
Fixes: #3966
Signed-off-by: Jo-Philipp Wich <redacted>
modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
patch
|
blob
|
history
diff --git
a/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
b/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
index daad2f633af6d373f430aef5074a37e2170d18ef..9b32048be6ace8bd16b2ffb8c22875e1854ed72f 100644
(file)
--- a/
modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
+++ b/
modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
@@
-84,6
+84,9
@@
"type": "call",
"module": "luci.controller.admin.index",
"function": "action_logout"
+ },
+ "depends": {
+ "acl": [ "luci-base" ]
}
},
git clone https://git.99rst.org/PROJECT