import net.pterodactylus.sone.template.SoneAccessor;
import net.pterodactylus.sone.web.page.Page.Request.Method;
import net.pterodactylus.util.template.Template;
-import freenet.clients.http.ToadletContext;
/**
* The login page manages logging the user in.
* The Sone web interface
*/
public LoginPage(Template template, WebInterface webInterface) {
- super("login.html", template, "Page.Login.Title", webInterface);
+ super("login.html", template, "Page.Login.Title", webInterface, false);
}
//
}
}
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean isEnabled(ToadletContext toadletContext) {
- return getCurrentSone(toadletContext) == null;
- }
-
}