diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-06 15:53:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-06 15:56:35 +0200 |
commit | 5a6382171da2c941e17d050cd357629f40541cb6 (patch) | |
tree | 4595ef7f28df1118185618e228eb7587e0c4affd /modules/luci-base/luasrc/model | |
parent | d0f15d980469386fbdee3ace19de44f29397cc3b (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 'modules/luci-base/luasrc/model')
0 files changed, 0 insertions, 0 deletions