Fix HA addon so it does not have logout button (#2558)

This commit is contained in:
Jesse Hills 2021-10-20 13:25:00 +13:00 committed by GitHub
parent cb48394e8a
commit 8b11e5aeb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -597,7 +597,7 @@ class MainRequestHandler(BaseHandler):
get_template_path("index"), get_template_path("index"),
begin=begin, begin=begin,
**template_args(), **template_args(),
login_enabled=settings.using_auth, login_enabled=settings.using_password,
) )