Skip to content

Commit

Permalink
ESURVEY-8265 Issue with Add user dialog for externals
Browse files Browse the repository at this point in the history
  • Loading branch information
clam2310 committed Mar 11, 2024
1 parent 021efcd commit 8a29f4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public User getUserForLogin(String login, boolean ecas) throws MessageException
public List<User> getUserLoginsByEmail(String email) {
Session session = sessionFactory.getCurrentSession();
email = "%" + email + "%";
Query query = session.createQuery("FROM User u where u.email like :email and u.type = :type order by u.login asc").setString("type", User.SYSTEM).setParameter(Constants.EMAIL, email);
Query query = session.createQuery("FROM User u where u.email like :email order by u.login asc").setParameter(Constants.EMAIL, email);
return query.setMaxResults(100).list();
}

Expand Down

0 comments on commit 8a29f4b

Please sign in to comment.