summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/csrftoken.htm
AgeCommit message (Collapse)Author
2015-10-06luci-base: add support for POST-only actions with CSRF token checkJo-Philipp Wich
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>