X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FLikePage.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FLikePage.java;h=9b5bda3ef8415962821dff2265fede009e4fbb84;hb=4c831fb948000bc1730ebcde73eeb62317f4ac54;hp=e9d79bac76e4b20a6ea9890cf87711abcbe0ac8f;hpb=ffe8711403c25bebba67b0835174fa29b62b8fa7;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/LikePage.java b/src/main/java/net/pterodactylus/sone/web/LikePage.java index e9d79ba..9b5bda3 100644 --- a/src/main/java/net/pterodactylus/sone/web/LikePage.java +++ b/src/main/java/net/pterodactylus/sone/web/LikePage.java @@ -38,7 +38,7 @@ public class LikePage extends SoneTemplatePage { * The Sone web interface */ public LikePage(Template template, WebInterface webInterface) { - super("like.html", template, "Page.LikePost.Title", webInterface); + super("like.html", template, "Page.LikePost.Title", webInterface, true); } // @@ -65,16 +65,4 @@ public class LikePage extends SoneTemplatePage { } } - // - // SONETEMPLATEPAGE METHODS - // - - /** - * {@inheritDoc} - */ - @Override - protected boolean requiresLogin() { - return true; - } - }