luci-lua-runtime: dispatcher.lua: re-add test_post_security()
authorJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 13:35:41 +0000 (15:35 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 14:40:05 +0000 (16:40 +0200)
commit8888caa83017c11be342e538be8c8849b7fa02d3
tree4df8be64bc49f9cc10f5bd5fb415d02ca377beed
parent3a0ef9384368d26b38ab2afdfc04ebdf3b233cfd
luci-lua-runtime: dispatcher.lua: re-add test_post_security()

While no LuCI code utilizes this function anymore, some existing legacy
Lua controllers expect the function to exist, so restore it.

Fixes: #6532
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2fd74a8239c3986bb2e741e907b2a90f2833f073)
modules/luci-lua-runtime/luasrc/dispatcher.lua