mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 14:45:09 +02:00
Allow changing password without being admin (#21978)
This commit is contained in:
@@ -122,7 +122,6 @@ async def websocket_delete(hass, connection, msg):
|
|||||||
websocket_api.result_message(msg['id']))
|
websocket_api.result_message(msg['id']))
|
||||||
|
|
||||||
|
|
||||||
@websocket_api.require_admin
|
|
||||||
@websocket_api.async_response
|
@websocket_api.async_response
|
||||||
async def websocket_change_password(hass, connection, msg):
|
async def websocket_change_password(hass, connection, msg):
|
||||||
"""Change user password."""
|
"""Change user password."""
|
||||||
|
Reference in New Issue
Block a user