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 13:35:41 +0000 (15:35 +0200)
commit2fd74a8239c3986bb2e741e907b2a90f2833f073
tree23be06564d7064e7cbddc826b5d43c69b4718134
parenta6a428fe60b6fd306bef6d0559bc1d78372b0e56
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>
modules/luci-lua-runtime/luasrc/dispatcher.lua