Skip to content

Commit

Permalink
Fix users update when importing them via csv in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
kitan1982 committed May 5, 2015
1 parent b5436b8 commit 43df9f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Validator/Constraints/CsvUserValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ public function validate($value, Constraint $constraint)
$existingUser,
array('registration', 'Default')
);
$existingUser->setUsername($username);
$existingUser->setMail($email);
} else {
$newUser = new User();
$newUser->setFirstName($firstName);
Expand Down

0 comments on commit 43df9f1

Please sign in to comment.