diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-10-27 10:14:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-10-27 11:14:52 +0200 |
commit | 767acf32d4c568103bfb74746886050095cf90ef (patch) | |
tree | 15f2db12408d120ac8eba80e218c31b68955d9d6 /applications/luci-app-adblock/po | |
parent | 6f470e0d7603e043f53adc9c6c2c89a3fb5a0476 (diff) |
luci-base: dispatcher.uc: update uci session ID in Lua context
Make sure that the uci session ID of the `luci.model.uci` module within
the Lua context is updated once we acquire the login session information.
In case legacy themes are used, the probing of the theme header template
might indirectly load the Lua runtime and the Lua side `luci.dispatcher`
module which in turn will load the `luci.model.uci` and set the session
ID there which is not yet initialized at this point in time.
This results in broken uci change handling within legacy Lua applications
when a legacy theme is loaded.
Fixes: #6060
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-adblock/po')
0 files changed, 0 insertions, 0 deletions