diff --git a/src/main/java/net/socialgamer/cah/handlers/RegisterHandler.java b/src/main/java/net/socialgamer/cah/handlers/RegisterHandler.java index fbfc2da..a9977a3 100644 --- a/src/main/java/net/socialgamer/cah/handlers/RegisterHandler.java +++ b/src/main/java/net/socialgamer/cah/handlers/RegisterHandler.java @@ -71,7 +71,7 @@ public class RegisterHandler extends Handler { private final Set banList; private final User.Factory userFactory; private final Provider persistentIdProvider; - private final IdCodeMangler idCodeManger; + private final IdCodeMangler idCodeMangler; @Inject public RegisterHandler(final ConnectedUsers users, @BanList final Set banList, @@ -82,7 +82,7 @@ public class RegisterHandler extends Handler { this.banList = banList; this.userFactory = userFactory; this.persistentIdProvider = persistentIdProvider; - this.idCodeManger = idCodeMangler; + this.idCodeMangler = idCodeMangler; this.adminList = adminList; } @@ -115,7 +115,7 @@ public class RegisterHandler extends Handler { persistentId = persistentIdProvider.get(); } - final String mangledIdCode = idCodeManger.mangle(nick, + final String mangledIdCode = idCodeMangler.mangle(nick, request.getParameter(AjaxRequest.ID_CODE)); final User user = userFactory.create(nick, mangledIdCode, request.getRemoteAddr(),