luci-mod-rpc: add missing luci config require
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Jul 2015 20:30:45 +0000 (22:30 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Jul 2015 20:30:45 +0000 (22:30 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-rpc/luasrc/controller/rpc.lua

index 862e5839f2f16604fe229a0ae6523e9ef1e539bc..0051571701f0582f27f84c5e7bfbf6c04ef36053 100644 (file)
@@ -43,6 +43,8 @@ function rpc_auth()
        local ltn12   = require "luci.ltn12"
        local util    = require "luci.util"
 
+       require "luci.config"
+
        local loginstat
 
        local server = {}