From f23f7b8751bb36829fd2136dffadcfe1e702149a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 21 Oct 2015 00:11:28 +0200 Subject: luci-app-upnp: protect lease delete call with csrf token Signed-off-by: Jo-Philipp Wich --- applications/luci-app-upnp/luasrc/controller/upnp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-upnp/luasrc/controller') diff --git a/applications/luci-app-upnp/luasrc/controller/upnp.lua b/applications/luci-app-upnp/luasrc/controller/upnp.lua index 790bf29d8..a0e2fd5a5 100644 --- a/applications/luci-app-upnp/luasrc/controller/upnp.lua +++ b/applications/luci-app-upnp/luasrc/controller/upnp.lua @@ -15,7 +15,7 @@ function index() page.dependent = true entry({"admin", "services", "upnp", "status"}, call("act_status")).leaf = true - entry({"admin", "services", "upnp", "delete"}, call("act_delete")).leaf = true + entry({"admin", "services", "upnp", "delete"}, post("act_delete")).leaf = true end function act_status() -- cgit v1.2.3