luci/modules/luci-lua-runtime/luasrc
Jo-Philipp Wich 2a9c3a3173 luci-lua-runtime: fix legacy luci-mod-rpc authentication
The legacy RPC module authentication fixup was improperly ported into the
Lua dispatcher stub module, rendering legacy RPC authentication broken.

Additionally, the split of the former `sysauth` cookie into `sysauth_http`
and `sysauth_https` ones was also imposed upon the RPC module, without
leaving the option to use just `sysauth` in place, so allow this cookie
name again for the legacy RPC logins.

Fixes: #6333
Fixes: e1932592c3 ("luci-base: use different cookie names for HTTP and HTTPS")
Fixes: ded8ccf93e ("luci-base-ucode: add initial ucode based LuCI runtime")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-04-30 00:27:47 +02:00
..
model treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
sys treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
view luci-lua-runtime: add compatibility template for legacy Lua status includes 2022-10-25 01:03:37 +02:00
cacheloader.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
ccache.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
config.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
dispatcher.lua luci-lua-runtime: fix legacy luci-mod-rpc authentication 2023-04-30 00:27:47 +02:00
i18n.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
i18n.luadoc treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
store.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
sys.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
sys.luadoc treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
template.lua luci-base, luci-lua-runtime: adjust Lua template environment 2022-11-21 12:27:28 +01:00
ucodebridge.lua luci-lua-runtime: preload luci.ltn12 2022-11-11 00:42:14 +01:00
version.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
xml.lua treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
xml.luadoc treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00