luci-base: luci.dispatcher: allow overriding sysauth template
authorJo-Philipp Wich <jo@mein.io>
Sat, 6 May 2017 13:06:07 +0000 (15:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 6 May 2017 13:07:57 +0000 (15:07 +0200)
commit596f47649cbf5b1e6c3c45d20980b7bb545d8fbb
tree76ecd8599b32b95b2af2a64897e57170c2022a7c
parent63d61d726cd3487820f2c7ba70a2470a3c196456
luci-base: luci.dispatcher: allow overriding sysauth template

In some cases it is useful to be able to override the template used for the
sysauth login dialog.

Add a new property "sysauth_template" which allows overriding the template
name from controller files.

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