Skip to content
Snippets Groups Projects
Unverified Commit e60b975b authored by Robert Van Gorkom's avatar Robert Van Gorkom Committed by GitHub
Browse files

Fix gogogate2 issue where non-admin users could not login (#37353)

parent a87c29b5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment