luci-base: enable uci session isolation
Switch to per-session save directories to decouple LuCI configuration changes from system wide ones. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
055b621cf5
commit
7cca313959
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ local function session_retrieve(sid, allowed_users)
|
||||||
(not allowed_users or
|
(not allowed_users or
|
||||||
util.contains(allowed_users, sdat.values.username))
|
util.contains(allowed_users, sdat.values.username))
|
||||||
then
|
then
|
||||||
|
uci:set_session_id(sid)
|
||||||
return sid, sdat.values
|
return sid, sdat.values
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue