mirror of
https://github.com/flarum/framework.git
synced 2025-01-07 19:13:37 +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(
|
$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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user