mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Fix password saving
This commit is contained in:
parent
87a8e4a137
commit
ff0c117486
|
@ -40,7 +40,7 @@ class SavePasswordAction extends Action
|
|||
}
|
||||
|
||||
$this->bus->dispatch(
|
||||
new EditUser($token->user_id, $token->user, ['password' => $password])
|
||||
new EditUser($token->user_id, $token->user, ['attributes' => ['password' => $password]])
|
||||
);
|
||||
|
||||
$token->delete();
|
||||
|
|
Loading…
Reference in New Issue
Block a user