bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6} 959/head
authorRoger Pueyo Centelles <[email protected]>
Sun, 26 Feb 2023 16:18:19 +0000 (17:18 +0100)
committerRoger Pueyo Centelles <[email protected]>
Wed, 8 Mar 2023 21:19:17 +0000 (22:19 +0100)
commitb1882bc9a4236aefcc460293767c4e7141e5f898
treede843b5c49fe3dd2894aadade7feadf4c56283c3
parent258826e83a18046ec9cd78e6d6abb34c784bc3c2
bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}

The "Filters", "Functions" and "Status" sections of the web interfaces
for both Bird4 and Bird6 threw the following error upon performing any
action:

   Form token mismatch
   The submitted security token is invalid or already expired!

Changing their entry types from "cbi" to "form" fixes them.

Fixes #922.

Signed-off-by: Roger Pueyo Centelles <[email protected]>
(cherry picked from commit c37fbab8f5e3af0843cf1bef5aa199a0c0db245b)
bird1-openwrt/Makefile
bird1-openwrt/bird1-ipv4-openwrt/src/controller/bird4.lua
bird1-openwrt/bird1-ipv6-openwrt/src/controller/bird6.lua