Merge branch 'release-0.4'
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / UnlockSoneAjaxPage.java
index 5ea3aa9..e1c408c 100644 (file)
@@ -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;
+       }
+
 }