projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055b621
)
luci-base: enable uci session isolation
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 24 Apr 2018 19:26:01 +0000
(21:26 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Sat, 5 May 2018 21:11:23 +0000
(23:11 +0200)
Switch to per-session save directories to decouple LuCI configuration changes
from system wide ones.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/dispatcher.lua
b/modules/luci-base/luasrc/dispatcher.lua
index 1984fc4ad2c84b1b5de701ddc1e9a078296647b4..38d919481040a41a0ccfc1405b869dfcb799935e 100644
(file)
--- a/
modules/luci-base/luasrc/dispatcher.lua
+++ b/
modules/luci-base/luasrc/dispatcher.lua
@@
-182,6
+182,7
@@
local function session_retrieve(sid, allowed_users)
(not allowed_users or
util.contains(allowed_users, sdat.values.username))
then
+ uci:set_session_id(sid)
return sid, sdat.values
end