mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Basic Auth for web_server component (#674)
* Basic auth * Test * Linter fix * Make username/password strict strings Reason: passwords only consisting of digits (012345) will be silently converted (to "12345") Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
committed by
Otto Winter
parent
1a763ae974
commit
b2388b6fe7
@@ -45,6 +45,9 @@ logger:
|
||||
level: DEBUG
|
||||
|
||||
web_server:
|
||||
auth:
|
||||
username: admin
|
||||
password: admin
|
||||
|
||||
deep_sleep:
|
||||
run_duration: 20s
|
||||
|
||||
Reference in New Issue
Block a user