mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27: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,
|
): str,
|
||||||
vol.Optional(
|
vol.Optional(
|
||||||
CONF_ADMIN_PASSWORD,
|
CONF_ADMIN_PASSWORD,
|
||||||
default=user_input.get(CONF_ADMIN_PASSWORD),
|
default=user_input.get(CONF_ADMIN_PASSWORD, ""),
|
||||||
): str,
|
): str,
|
||||||
vol.Optional(
|
vol.Optional(
|
||||||
CONF_SURVEILLANCE_USERNAME,
|
CONF_SURVEILLANCE_USERNAME,
|
||||||
@ -80,7 +80,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
): str,
|
): str,
|
||||||
vol.Optional(
|
vol.Optional(
|
||||||
CONF_SURVEILLANCE_PASSWORD,
|
CONF_SURVEILLANCE_PASSWORD,
|
||||||
default=user_input.get(CONF_SURVEILLANCE_PASSWORD),
|
default=user_input.get(CONF_SURVEILLANCE_PASSWORD, ""),
|
||||||
): str,
|
): str,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user