mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Allow empty motionEye passwords (#85407)
This commit is contained in:
parent
476de319ea
commit
10829fdadb
@ -72,7 +72,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
): str,
|
||||
vol.Optional(
|
||||
CONF_ADMIN_PASSWORD,
|
||||
default=user_input.get(CONF_ADMIN_PASSWORD),
|
||||
default=user_input.get(CONF_ADMIN_PASSWORD, ""),
|
||||
): str,
|
||||
vol.Optional(
|
||||
CONF_SURVEILLANCE_USERNAME,
|
||||
@ -80,7 +80,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
): str,
|
||||
vol.Optional(
|
||||
CONF_SURVEILLANCE_PASSWORD,
|
||||
default=user_input.get(CONF_SURVEILLANCE_PASSWORD),
|
||||
default=user_input.get(CONF_SURVEILLANCE_PASSWORD, ""),
|
||||
): str,
|
||||
}
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user