From 94ce3f24262e948e0b3275552c9ed4550bf41248 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 15 Nov 2016 16:27:26 +0800 Subject: webui: To support password authentication Move the "IndexHandler" to separate module located at the "handlers/" directory. --- bin/fg21sim-webui | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/fg21sim-webui') diff --git a/bin/fg21sim-webui b/bin/fg21sim-webui index a0c0668..e2ecff5 100755 --- a/bin/fg21sim-webui +++ b/bin/fg21sim-webui @@ -45,6 +45,9 @@ define("hosts_allowed", default="any", type=str, "'192.168.0.0/24'. " "Specify 'any' to allow any hosts. " "Note that the localhost/127.0.0.1 is always allowed.")) +define("password", type=str, + help=("Password authentication to access the Web UI. " + "If not specified, then all accesses are allowed.")) def main(): -- cgit v1.2.2