Fix filenames in license headers.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / UnlockSoneAjaxPage.java
index 5ea3aa9..3160db0 100644 (file)
@@ -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;
+       }
+
 }