mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix auth frontend
This commit is contained in:
parent
5aa0158761
commit
de5533e3c2
@ -96,7 +96,7 @@ class IndexView(HomeAssistantView):
|
|||||||
if self.hass.config.api.api_password is None:
|
if self.hass.config.api.api_password is None:
|
||||||
auth = 'no_password_set'
|
auth = 'no_password_set'
|
||||||
else:
|
else:
|
||||||
request.values.get('api_password', '')
|
auth = request.values.get('api_password', '')
|
||||||
|
|
||||||
template = self.templates.get_template('index.html')
|
template = self.templates.get_template('index.html')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user