mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-03 19:38:30 +02:00
Dashboard authentication
This commit is contained in:
@@ -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:])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user