Skip to content
Snippets Groups Projects
Commit 78f5efa7 authored by Nils Schneider's avatar Nils Schneider
Browse files

gluon-luci-admin: no logout button in configmode

Hide the "logout" button when in configmode.
parent d85214d4
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,10 @@ function index()
page.index = true
entry({"admin", "index"}, form("admin/index"), _("Overview"), 1).ignoreindex = true
entry({"admin", "logout"}, call("action_logout"), _("Logout"))
if not configmode then
entry({"admin", "logout"}, call("action_logout"), _("Logout"))
end
end
function action_logout()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment