X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FUnlockSoneAjaxPage.java;h=3160db0c9ad3c94358abc3b92d987ad52dbf7d8c;hb=d0ae5f106a59d7ac808e03287af2e5a33e50ba8b;hp=5ea3aa97fb245ef0c9dc5bfca88db33107ae0347;hpb=c93070476a62e3db94f175576e3cdabf49db1086;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/UnlockSoneAjaxPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/UnlockSoneAjaxPage.java index 5ea3aa9..3160db0 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/UnlockSoneAjaxPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/UnlockSoneAjaxPage.java @@ -1,5 +1,5 @@ /* - * Sone - LockSoneAjaxPage.java - Copyright © 2010 David Roden + * Sone - UnlockSoneAjaxPage.java - Copyright © 2010 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ public class UnlockSoneAjaxPage extends JsonPage { * The Sone web interface */ public UnlockSoneAjaxPage(WebInterface webInterface) { - super("ajax/unlockSone.ajax", webInterface); + super("unlockSone.ajax", webInterface); } /** @@ -53,4 +53,12 @@ public class UnlockSoneAjaxPage extends JsonPage { return createSuccessJsonObject(); } + /** + * {@inheritDoc} + */ + @Override + protected boolean requiresLogin() { + return false; + } + }