bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6} 957/head
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Sun, 26 Feb 2023 16:18:19 +0000 (17:18 +0100)
committerRoger Pueyo Centelles <roger.pueyo@guifi.net>
Wed, 8 Mar 2023 14:08:20 +0000 (15:08 +0100)
commitb8e0831736f974e8f4b12a48b334226814159923
tree15726d675fd9818fc61c7ea6c9831be48cb26d1b
parent3d7df59413b7a9324328492ef5601f4d8efbc0cf
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 <roger.pueyo@guifi.net>
(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