Fórum
Signin - Create Account - Redirection
Bijan Vakili, modificado 12 Anos atrás.
Signin - Create Account - Redirection
Expert Postagens: 375 Data de Entrada: 10/03/09 Postagens Recentes
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.
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.
Anexos:
Ravi Kumar Gupta, modificado 12 Anos atrás.
RE: Signin - Create Account - Redirection
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
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.
Anyways, in production a user should not be able to see the password generated on the screen. A mail should be sent anyways.