Case insensitive account lookup

pull/215/head
M66B 5 months ago
parent ebe717d54c
commit 766cbfb9f7

@ -148,7 +148,7 @@ public interface DaoAccount {
EntityAccount getAccount(String name);
@Query("SELECT * FROM account" +
" WHERE user = :user" +
" WHERE user = :user COLLATE NOCASE" +
" AND pop = :protocol" +
" AND tbd IS NULL")
List<EntityAccount> getAccounts(String user, int protocol);

Loading…
Cancel
Save