summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ntpc/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-10-06 15:53:35 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-10-06 15:56:35 +0200
commit5a6382171da2c941e17d050cd357629f40541cb6 (patch)
tree4595ef7f28df1118185618e228eb7587e0c4affd /applications/luci-app-ntpc/luasrc
parentd0f15d980469386fbdee3ace19de44f29397cc3b (diff)
luci-base: add support for POST-only actions with CSRF token check
Add the dispatcher infrastructure to restrict certain routes to POST requests only in conjunction with verification of CSRF tokens. This is the first step to get rid of the CSRF token in the url in favor to tokens embedded in forms. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-ntpc/luasrc')
0 files changed, 0 insertions, 0 deletions