1
0
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:
Toby Zerner
2015-07-31 14:00:42 +09:30
parent ce14273c43
commit 8db17b3fb8

View File

@@ -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();