Revert changes from revisions 6300, 6301, 6303. Didn't fix the login issue, and not a good solution anyway.
This commit is contained in:
parent
ef9a5061d3
commit
45ac6e2eac
1 changed files with 0 additions and 8 deletions
|
@ -8,7 +8,6 @@ import java.util.Map;
|
|||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import edu.cornell.mannlib.vedit.beans.LoginStatusBean;
|
||||
import edu.cornell.mannlib.vitro.webapp.beans.Portal;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;
|
||||
import edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet.ResponseValues;
|
||||
|
@ -25,13 +24,6 @@ public class HomePageController extends FreemarkerHttpServlet {
|
|||
@Override
|
||||
protected ResponseValues processRequest(VitroRequest vreq) {
|
||||
|
||||
// This is a temporary hack to get the login form to work directly from the
|
||||
// home page, without redirecting to the dedicated login page (NIHVIVO-1296).
|
||||
// We should either eliminate the need for this, or if it cannot be eliminated,
|
||||
// move it to the login widget controller so that any page that includes the
|
||||
// login widget will also get the necessary code.
|
||||
vreq.getSession(false);
|
||||
|
||||
Map<String, Object> body = new HashMap<String, Object>();
|
||||
// Add home page data to body here
|
||||
return new TemplateResponseValues(BODY_TEMPLATE, body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue