Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -186,6 +186,7 @@ public class UserServiceImpl extends AbstractEntityService implements UserServic |
186 | 186 | public UserCredentials requestPasswordReset(TenantId tenantId, String email) { |
187 | 187 | log.trace("Executing requestPasswordReset email [{}]", email); |
188 | 188 | validateString(email, "Incorrect email " + email); |
189 | + DataValidator.validateEmail(email); | |
189 | 190 | User user = userDao.findByEmail(tenantId, email); |
190 | 191 | if (user == null) { |
191 | 192 | throw new IncorrectParameterException(String.format("Unable to find user by email [%s]", email)); | ... | ... |