mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 20:39:01 +00:00
assign user to websocket connection when using legacy_api_password (#19797)
This commit is contained in:
committed by
Paulus Schoutsen
parent
6d9fda04ac
commit
23382ab199
@@ -132,7 +132,8 @@ async def test_auth_active_with_password_not_allow(hass, aiohttp_client):
|
||||
assert auth_msg['type'] == TYPE_AUTH_INVALID
|
||||
|
||||
|
||||
async def test_auth_legacy_support_with_password(hass, aiohttp_client):
|
||||
async def test_auth_legacy_support_with_password(hass, aiohttp_client,
|
||||
legacy_auth):
|
||||
"""Test authenticating with a token."""
|
||||
assert await async_setup_component(hass, 'websocket_api', {
|
||||
'http': {
|
||||
|
||||
Reference in New Issue
Block a user