mirror of
https://github.com/flarum/core.git
synced 2025-07-23 01:31:40 +02:00
The EditUser command requires the actor to have the "edit" permission, which is only granted to admins. We don't want to allow users to change their own password via the API, though. So instead of dispatching the command, we'll just update the user's password directly in the action.