mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Update manifest
This commit is contained in:
parent
087f1dc9e4
commit
73e95bc80f
@ -1,4 +1,5 @@
|
||||
include README.md
|
||||
include esphomeyaml/dashboard/templates/index.html
|
||||
include esphomeyaml/dashboard/templates/login.html
|
||||
include esphomeyaml/dashboard/static/materialize-stepper.min.css
|
||||
include esphomeyaml/dashboard/static/materialize-stepper.min.js
|
||||
|
@ -46,8 +46,8 @@ class BaseHandler(tornado.web.RequestHandler):
|
||||
def is_authenticated(self):
|
||||
has_cookie = self.get_secure_cookie('authenticated') == 'yes'
|
||||
|
||||
if ON_HASSIO:
|
||||
return not USING_HASSIO_AUTH or has_cookie
|
||||
if USING_HASSIO_AUTH:
|
||||
return has_cookie
|
||||
|
||||
return not USING_PASSWORD or has_cookie
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user