diff --git a/src/main/java/cz/cvut/kbss/analysis/dao/UserDao.java b/src/main/java/cz/cvut/kbss/analysis/dao/UserDao.java index eea29c6f..7a342b6e 100755 --- a/src/main/java/cz/cvut/kbss/analysis/dao/UserDao.java +++ b/src/main/java/cz/cvut/kbss/analysis/dao/UserDao.java @@ -37,7 +37,7 @@ public Optional findByUsername(String username) { type) .setParameter("type", typeUri) .setParameter("hasUsername", URI.create(Vocabulary.s_p_username)) - .setParameter("username", username, config.getLanguage()) + .setParameter("username", username) .getSingleResult()); } catch (NoResultException e) { return Optional.empty();