mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Fix password saving
This commit is contained in:
@@ -40,7 +40,7 @@ class SavePasswordAction extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->bus->dispatch(
|
$this->bus->dispatch(
|
||||||
new EditUser($token->user_id, $token->user, ['password' => $password])
|
new EditUser($token->user_id, $token->user, ['attributes' => ['password' => $password]])
|
||||||
);
|
);
|
||||||
|
|
||||||
$token->delete();
|
$token->delete();
|
||||||
|
Reference in New Issue
Block a user