Dashboard authentication

This commit is contained in:
Otto Winter
2018-06-07 20:47:06 +02:00
parent 135117714b
commit ec3366cce0
5 changed files with 75 additions and 8 deletions
+2
View File
@@ -436,6 +436,8 @@ def parse_args(argv):
help="Create a simple webserver for a dashboard.")
dashboard.add_argument("--port", help="The HTTP port to open connections on.", type=int,
default=6052)
dashboard.add_argument("--password", help="The optional password to require for all requests.",
type=str, default='')
return parser.parse_args(argv[1:])