luci-base: tie cached system features to user session
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 08:55:54 +0000 (10:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Sep 2019 08:55:54 +0000 (10:55 +0200)
commit6dba41cadc82785f23773f219d30403f6b12956e
tree73a569358ad81b43e213d65463253972c5c592a4
parent119c6319cbbcaa033cf2b027866fe1bb3bbdbb75
luci-base: tie cached system features to user session

Store the cached system feature flags keyed by the current session id,
this ensures that the features are refreshed on login.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js