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:52:18 +0000 (16:52 +0100)
commit4c45a52592e9abd63799f4f1ac1d275cb7c10ecd
treea3df62ac8d88d55e54f8d84864d7bca74c222d6b
parent43959e3abdbf172a7cc9825f71a7a06592d0da82
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>
(cherry picked from commit 766643fcf18b5710462b88adeabe5e4706ed09cf)
modules/luci-mod-rpc/luasrc/controller/rpc.lua