getResponse().sendRedirect(link(login_redirect));
} else {
getResponse().sendRedirect(getFormLink());
}
} else {
<BUG>if (OpenCms.getLog(CmsJspLoginBean.class).isWarnEnabled()) {
OpenCms.getLog(CmsJspLoginBean.class).warn(
"Failed login attempt for user '"
+ username

+ "' on page "
+ getRequestContext().addSiteRoot(getRequestContext().getUri()));
</BUG>
}

getResponse().sendRedirect(link(login_redirect));
} else {
getResponse().sendRedirect(getFormLink());
