Combination View Flat View Tree View
Threads [ Previous | Next ]
Bijan Vakili
Signin - Create Account - Redirection
July 12, 2011 8:16 AM

Bijan Vakili

Rank: Expert

Posts: 359

Join Date: March 10, 2009

Recent Posts


When a first-time user tries to access a protected page, the portal redirects them to the login page. When the user clicks the Create Account link to join the portal, the portal loses the "redirect" parameter. I have attached a patch for /html/portlet/login/navigation.jsp that carries over the "redirect" parameter from navigation.jsp to create_account.jsp. However, this poses some other concerns. For example, now the user does not get to see their password because the portal automatically signs them in after account creation.

Can you suggest a better fix such that the user sees their generated password?

Attachments: navigation.jsp.patch (0.6k)
Ravi Kumar Gupta
RE: Signin - Create Account - Redirection
April 22, 2012 5:54 AM

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

If a javascript redirection is done, its easy. Better fix may be to show the password, ask user to click a button and get it redirect.

Anyways, in production a user should not be able to see the password generated on the screen. A mail should be sent anyways.