Fix gogogate2 issue where non-admin users could not login (#37353)
This commit is contained in:
parent
a87c29b5d9
commit
e60b975b10
5 changed files with 5 additions and 5 deletions
|
@ -63,7 +63,7 @@ class Gogogate2FlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
CONF_IP_ADDRESS, default=user_input.get(CONF_IP_ADDRESS, "")
|
||||
): str,
|
||||
vol.Required(
|
||||
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "admin")
|
||||
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "")
|
||||
): str,
|
||||
vol.Required(
|
||||
CONF_PASSWORD, default=user_input.get(CONF_PASSWORD, "")
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
"name": "Gogogate2",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/gogogate2",
|
||||
"requirements": ["gogogate2-api==1.0.3"],
|
||||
"requirements": ["gogogate2-api==1.0.4"],
|
||||
"codeowners": ["@vangorra"]
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"step": {
|
||||
"user": {
|
||||
"title": "Setup GogoGate2",
|
||||
"description": "Provide requisite information below. Note: only the 'admin' user is known to work.",
|
||||
"description": "Provide requisite information below.",
|
||||
"data": {
|
||||
"ip_address": "IP Address",
|
||||
"username": "[%key:common::config_flow::data::username%]",
|
||||
|
|
|
@ -660,7 +660,7 @@ glances_api==0.2.0
|
|||
gntp==1.0.3
|
||||
|
||||
# homeassistant.components.gogogate2
|
||||
gogogate2-api==1.0.3
|
||||
gogogate2-api==1.0.4
|
||||
|
||||
# homeassistant.components.google
|
||||
google-api-python-client==1.6.4
|
||||
|
|
|
@ -310,7 +310,7 @@ gios==0.1.1
|
|||
glances_api==0.2.0
|
||||
|
||||
# homeassistant.components.gogogate2
|
||||
gogogate2-api==1.0.3
|
||||
gogogate2-api==1.0.4
|
||||
|
||||
# homeassistant.components.google
|
||||
google-api-python-client==1.6.4
|
||||
|
|
Loading…
Add table
Reference in a new issue