mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-22 03:19:03 +00:00
Ingress does not break when username missing (#4551)
This commit is contained in:
@@ -457,7 +457,9 @@ class HomeAssistant(FileConfiguration, CoreSysAttributes):
|
||||
|
||||
return [
|
||||
IngressSessionDataUser(
|
||||
id=data["id"], username=data["username"], display_name=data["name"]
|
||||
id=data["id"],
|
||||
username=data.get("username"),
|
||||
display_name=data.get("name"),
|
||||
)
|
||||
for data in list_of_users
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user