Do not require logins for some AJAX pages.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / UnlockSoneAjaxPage.java
index 02682b2..e1c408c 100644 (file)
@@ -53,4 +53,12 @@ public class UnlockSoneAjaxPage extends JsonPage {
                return createSuccessJsonObject();
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       protected boolean requiresLogin() {
+               return false;
+       }
+
 }