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:06:07 +0000 (15:06 +0200)
commit57121f37432fdc4e3eb5f577b4c3fdcb622932ee
tree8c6e174a4066f7211bc5bb7ade9a67b1db201a49
parent758555db1bcb044bde952b967656327f5b878ca9
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