Allow empty motionEye passwords (#85407)

pull/86128/head
Dermot Duffy 2023-01-15 04:20:25 -08:00 committed by GitHub
parent 476de319ea
commit 10829fdadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
),