Rename method to match its purpose.
[WoTNS.git] / src / main / java / net / pterodactylus / wotns / ui / web / EnableIdentityPage.java
index 125d346..8518de7 100644 (file)
@@ -47,7 +47,7 @@ public class EnableIdentityPage extends BasicPage {
        protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
                super.processTemplate(request, templateContext);
                if (request.getMethod() == Method.POST) {
-                       OwnIdentity ownIdentity = getIdentity(request);
+                       OwnIdentity ownIdentity = getOwnIdentity(request);
                        if (ownIdentity == null) {
                                /* TODO - show error. */
                                return;