Skip to content
Commit 5a638217 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jow@openwrt.org>
parent d0f15d98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment