掲示板

Signin - Create Account - Redirection

thumbnail
12年前 に Bijan Vakili によって更新されました。

Signin - Create Account - Redirection

Expert 投稿: 375 参加年月日: 09/03/10 最新の投稿
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
11年前 に Ravi Kumar Gupta によって更新されました。

RE: Signin - Create Account - Redirection

Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
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.