mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Allow changing password without being admin (#21978)
This commit is contained in:
parent
4a4bb43422
commit
9416af5b56
@ -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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user