Skip to content

Commit 021efcd

Browse files
committed
ESURVEY-8265 Issue with Add user dialog for externals
1 parent efc7791 commit 021efcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ec/survey/service/AdministrationService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public String[] checkLoginsForEmails(List<String> emails) {
333333

334334
Query query = null;
335335
if (emails != null && emails.size() > 0) {
336-
query = session.createQuery("FROM User u where u.email IN :email and u.type = :type order by u.login asc").setString("type", User.SYSTEM).setParameter(Constants.EMAIL, emails);
336+
query = session.createQuery("FROM User u where u.email IN :email order by u.login asc").setParameter(Constants.EMAIL, emails);
337337
}
338338

339339
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)