Comment.
This commit is contained in:
parent
8cfe11d615
commit
ef9a5061d3
1 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,12 @@ public class HomePageController extends FreemarkerHttpServlet {
|
|||
@Override
|
||||
protected ResponseValues processRequest(VitroRequest vreq) {
|
||||
|
||||
vreq.getSession(false); // enables login directly from home page
|
||||
// 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
|
||||
|
|
Loading…
Add table
Reference in a new issue