diff --git a/src/main/java/eu/m724/talkpages/page/action/AccountService.java b/src/main/java/eu/m724/talkpages/page/action/AccountService.java index f30f55d..ae57dfb 100644 --- a/src/main/java/eu/m724/talkpages/page/action/AccountService.java +++ b/src/main/java/eu/m724/talkpages/page/action/AccountService.java @@ -10,7 +10,7 @@ public class AccountService { // TODO I think it would be better to accept InetAddress @Transactional public Account addressAccount(String address) { - Account account = Account.findById(address); + Account account = Account.findByName(address); if (account != null) return account;