updateUser.setName(request.mandatoryParam(PARAM_NAME));
}
if (request.hasParam(PARAM_EMAIL)) {
updateUser.setEmail(request.param(PARAM_EMAIL));
}
<BUG>if (request.hasParam(PARAM_SCM_ACCOUNTS)) {
updateUser.setScmAccounts(request.paramAsStrings(PARAM_SCM_ACCOUNTS));</BUG>
}
userUpdater.update(updateUser);
writeResponse(response, login);

updateUser.setName(request.mandatoryParam(PARAM_NAME));
}
if (request.hasParam(PARAM_EMAIL)) {
updateUser.setEmail(request.param(PARAM_EMAIL));
}
if (request.hasParam(PARAM_SCM_ACCOUNTS) || request.hasParam(PARAM_SCM_ACCOUNTS_DEPRECATED)) {
updateUser.setScmAccounts(request.paramAsStrings(PARAM_SCM_ACCOUNTS));
}
userUpdater.update(updateUser);
writeResponse(response, login);
