mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 17:45:19 +02:00
Allow empty motionEye passwords (#85407)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
),
|
||||
|
Reference in New Issue
Block a user