From de5533e3c223d4a923d3cf79e6b84f46dbf72ec1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 15 May 2016 02:23:21 -0700 Subject: [PATCH] Fix auth frontend --- homeassistant/components/frontend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 7bbb4798508..5fe255f8ae0 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -96,7 +96,7 @@ class IndexView(HomeAssistantView): if self.hass.config.api.api_password is None: auth = 'no_password_set' else: - request.values.get('api_password', '') + auth = request.values.get('api_password', '') template = self.templates.get_template('index.html')