diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-21 00:09:55 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-21 00:09:55 +0200 |
commit | c1278f967e90352506900d243888cd3ac9caee9f (patch) | |
tree | efab2f495076a16b82ad94467092a6e2b1d97843 /applications/luci-app-splash/luasrc/controller/splash | |
parent | ac34dfa0bc65e2efeb9575d3cd42c4696d31bb1b (diff) |
luci-app-splash: protect admin status call with csrf token
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-splash/luasrc/controller/splash')
-rw-r--r-- | applications/luci-app-splash/luasrc/controller/splash/splash.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-splash/luasrc/controller/splash/splash.lua b/applications/luci-app-splash/luasrc/controller/splash/splash.lua index 4add43559f..13b8edce6d 100644 --- a/applications/luci-app-splash/luasrc/controller/splash/splash.lua +++ b/applications/luci-app-splash/luasrc/controller/splash/splash.lua @@ -16,7 +16,7 @@ function index() node("splash", "splash").target = template("splash_splash/splash") node("splash", "blocked").target = template("splash/blocked") - entry({"admin", "status", "splash"}, call("action_status_admin"), _("Client-Splash")) + entry({"admin", "status", "splash"}, post("action_status_admin"), _("Client-Splash")) local page = node("splash", "publicstatus") page.target = call("action_status_public") |