X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FIndexPage.java;h=589e7aa1244f8643e30bff835ccf63210f23ce3d;hp=47f2715347b6bc8ea683aed402ce25235f608119;hb=4c831fb948000bc1730ebcde73eeb62317f4ac54;hpb=ffe8711403c25bebba67b0835174fa29b62b8fa7 diff --git a/src/main/java/net/pterodactylus/sone/web/IndexPage.java b/src/main/java/net/pterodactylus/sone/web/IndexPage.java index 47f2715..589e7aa 100644 --- a/src/main/java/net/pterodactylus/sone/web/IndexPage.java +++ b/src/main/java/net/pterodactylus/sone/web/IndexPage.java @@ -41,7 +41,7 @@ public class IndexPage extends SoneTemplatePage { * The Sone web interface */ public IndexPage(Template template, WebInterface webInterface) { - super("index.html", template, "Page.Index.Title", webInterface); + super("index.html", template, "Page.Index.Title", webInterface, true); } // @@ -71,16 +71,4 @@ public class IndexPage extends SoneTemplatePage { template.set("posts", allPosts); } - // - // SONETEMPLATEPAGE METHODS - // - - /** - * {@inheritDoc} - */ - @Override - protected boolean requiresLogin() { - return true; - } - }