*/
@Override
protected String getRedirectTarget(Request request) {
- if (getCurrentSone(request.getToadletContext()) != null) {
+ if (getCurrentSone(request.getToadletContext(), false) != null) {
return "index.html";
}
return null;
*/
@Override
public boolean isEnabled(ToadletContext toadletContext) {
- return getCurrentSone(toadletContext) == null;
+ return getCurrentSone(toadletContext, false) == null;
}
}