Foros de discusión

Signin - Create Account - Redirection

thumbnail
Bijan Vakili, modificado hace 12 años.

Signin - Create Account - Redirection

Expert Mensajes: 375 Fecha de incorporación: 10/03/09 Mensajes recientes
Hi,

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?

Thanks.
thumbnail
Ravi Kumar Gupta, modificado hace 12 años.

RE: Signin - Create Account - Redirection

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
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.