mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-10-08 19:29:43 +00:00
Rename login_backend to auth_api (#764)
* Update const.py * Update validate.py * Update addon.py * Update auth.py * Update addons.py * Update API.md
This commit is contained in:
@@ -38,7 +38,7 @@ class APIAuth(CoreSysAttributes):
|
||||
"""Process login request."""
|
||||
addon = request[REQUEST_FROM]
|
||||
|
||||
if not addon.with_login_backend:
|
||||
if not addon.access_auth_api:
|
||||
raise APIForbidden("Can't use Home Assistant auth!")
|
||||
|
||||
# BasicAuth
|
||||
|
Reference in New Issue
Block a user