Further UI improvements (#8)
* Only set autosign in cookie upon clicking the button * Show an already signed in link if you already have a token
This commit is contained in:
committed by
GitHub
parent
9f60e9ea9a
commit
ca83e86acb
@@ -34,7 +34,6 @@ class OIDCCallbackView(HomeAssistantView):
|
||||
"error",
|
||||
{
|
||||
"error": "Missing code or state parameter.",
|
||||
"link": get_url("/auth/oidc/redirect"),
|
||||
},
|
||||
)
|
||||
return web.Response(text=view_html, content_type="text/html")
|
||||
@@ -49,7 +48,6 @@ class OIDCCallbackView(HomeAssistantView):
|
||||
{
|
||||
"error": "Failed to get user details, "
|
||||
+ "see Home Assistant logs for more information.",
|
||||
"link": get_url("/auth/oidc/redirect"),
|
||||
},
|
||||
)
|
||||
return web.Response(text=view_html, content_type="text/html")
|
||||
|
||||
Reference in New Issue
Block a user