Fix password saving

This commit is contained in:
Toby Zerner 2015-07-31 14:00:42 +09:30
parent 87a8e4a137
commit ff0c117486

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