NIHVIVO-1296 Enable login directly from home page rather than redirecting to dedicated login page.
This commit is contained in:
parent
a7a5c821fb
commit
28d3e0d50a
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ 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;
|
||||
|
@ -23,6 +24,7 @@ public class HomePageController extends FreemarkerHttpServlet {
|
|||
|
||||
@Override
|
||||
protected ResponseValues processRequest(VitroRequest vreq) {
|
||||
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