Foren
Signin - Create Account - Redirection
Bijan Vakili, geändert vor 12 Jahren.
Signin - Create Account - Redirection
Expert Beiträge: 375 Beitrittsdatum: 10.03.09 Neueste Beiträge
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.
Anhänge:
Ravi Kumar Gupta, geändert vor 12 Jahren.
RE: Signin - Create Account - Redirection
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
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.