X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FBlockSonePage.java;h=328d6f09e2efdc40fbebe6d809367cf1723f56db;hp=4bde0d145c9be56ceb23d7472db7433fcd808787;hb=4c831fb948000bc1730ebcde73eeb62317f4ac54;hpb=ffe8711403c25bebba67b0835174fa29b62b8fa7 diff --git a/src/main/java/net/pterodactylus/sone/web/BlockSonePage.java b/src/main/java/net/pterodactylus/sone/web/BlockSonePage.java index 4bde0d1..328d6f0 100644 --- a/src/main/java/net/pterodactylus/sone/web/BlockSonePage.java +++ b/src/main/java/net/pterodactylus/sone/web/BlockSonePage.java @@ -36,7 +36,7 @@ public class BlockSonePage extends SoneTemplatePage { * The Sone web interface */ public BlockSonePage(Template template, WebInterface webInterface) { - super("blockSone.html", template, "Page.BlockSone.Title", webInterface); + super("blockSone.html", template, "Page.BlockSone.Title", webInterface, true); } // @@ -57,17 +57,4 @@ public class BlockSonePage extends SoneTemplatePage { } } - // - // SONETEMPLATEPAGE METHODS - // - - /** - * {@inheritDoc} - */ - @Override - protected boolean requiresLogin() { - // TODO Auto-generated method stub - return super.requiresLogin(); - } - }