aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/users/components/UserForm.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx
index 072f4663107..d7052b3d49b 100644
--- a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx
+++ b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx
@@ -121,7 +121,7 @@ export default class UserForm extends React.PureComponent<Props, State> {
event.preventDefault();
this.setState({ submitting: true });
updateUser({
- email: this.state.email || undefined,
+ email: this.state.email,
login: this.state.login,
name: this.state.name,
scmAccount: uniq(this.state.scmAccounts).join(',')