projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move login requirement to SoneTemplatePage.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
UnblockSonePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/UnblockSonePage.java
b/src/main/java/net/pterodactylus/sone/web/UnblockSonePage.java
index
36f00bc
..
cc88cce
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/UnblockSonePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/UnblockSonePage.java
@@
-36,7
+36,7
@@
public class UnblockSonePage extends SoneTemplatePage {
* The Sone web interface
*/
public UnblockSonePage(Template template, WebInterface webInterface) {
* The Sone web interface
*/
public UnblockSonePage(Template template, WebInterface webInterface) {
- super("unblockSone.html", template, "Page.UnblockSone.Title", webInterface);
+ super("unblockSone.html", template, "Page.UnblockSone.Title", webInterface
, true
);
}
//
}
//
@@
-59,17
+59,4
@@
public class UnblockSonePage extends SoneTemplatePage {
}
}
}
}
- //
- // SONETEMPLATEPAGE METHODS
- //
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected boolean requiresLogin() {
- // TODO Auto-generated method stub
- return super.requiresLogin();
- }
-
}
}