luci-base: switch to POST action for service reload
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 6 Oct 2015 20:37:23 +0000 (22:37 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 6 Oct 2015 20:37:27 +0000 (22:37 +0200)
commitada4a0ea98fbd8fa396cb601ace6c52f3857f5cc
tree75f7fbfbff06e3fd146b2902a20dfad1755c9af6
parente440144d5693eee6858151e8e52b98b594069265
luci-base: switch to POST action for service reload

Switches the service reload calls to CSRF token protected POST action.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/controller/admin/servicectl.lua
modules/luci-base/luasrc/view/cbi/apply_xhr.htm