fixes #2639 After creating user with empty e-mail it becomes impossible to add it.(cherry picked from commit 802ae177dc9d35c3fc3889fa34b24e7f32001eb8)
fixes #2639 After creating user with empty e-mail it becomes impossible to add it.
(cherry picked from commit 802ae177dc9d35c3fc3889fa34b24e7f32001eb8)