luci-base: use rpcd session logins
authorJo-Philipp Wich <jo@mein.io>
Sun, 9 Jul 2017 19:26:49 +0000 (21:26 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 9 Jul 2017 19:35:26 +0000 (21:35 +0200)
commitd6360bf81eb350857c9c9532a413702e3a9f57be
treeab08604fc66779ce2750995678eadc3fb2cce98d
parent4f127c32544edabd420dbda114db50168a12ccfb
luci-base: use rpcd session logins

Drop the custom credentials checking in favor to perform proper session
logins via rpcd. This is needed to properly setup ACLs when spawning
rpcd sessions in order to support direct client side ubus access in the
future.

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