mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Update manifest
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user