Commit b8daa49736e504f2df93d8f9aee793c18c4d302c

Authored by Vladyslav_Prykhodko
1 parent 0ee49075

Fixed has not been used property SECURITY_USER_LOGIN_CASE_SENSITIVE on password recover

... ... @@ -192,9 +192,7 @@ public class UserServiceImpl extends AbstractEntityService implements UserServic
192 192 @Override
193 193 public UserCredentials requestPasswordReset(TenantId tenantId, String email) {
194 194 log.trace("Executing requestPasswordReset email [{}]", email);
195   - validateString(email, "Incorrect email " + email);
196   - DataValidator.validateEmail(email);
197   - User user = userDao.findByEmail(tenantId, email);
  195 + User user = findUserByEmail(tenantId, email);
198 196 if (user == null) {
199 197 throw new UsernameNotFoundException(String.format("Unable to find user by email [%s]", email));
200 198 }
... ...