luci-mod-rpc: drop "secret" value from rpc session objects
authorJo-Philipp Wich <jo@mein.io>
Wed, 30 Jan 2019 15:48:51 +0000 (16:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 30 Jan 2019 15:51:49 +0000 (16:51 +0100)
commit766643fcf18b5710462b88adeabe5e4706ed09cf
tree1831c2e932ca1788e95bd738ca95dbefdff29e51
parent74e4cf56c63e982519f9f8fd1fb2adbddbd33093
luci-mod-rpc: drop "secret" value from rpc session objects

Drop the "secret" value from RPC session objects in order to make them
compatible with ordinary web sessions used by the LuCI web interface.

That secret value was never used for anything and is the only difference
compared to normal LuCI login sessions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-rpc/luasrc/controller/rpc.lua