Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
Steps to reproduce:
1. Start a blank Liferay installation
2. Without signing in, navigate to the following url (assuming your Liferay server is running at localhost and port 8080):
You should see the Wiki portlet maximized in the home page.
3. Now navigate to this url:
You should see the create account form.
4. Go through all the create account process, including writing a new password.
After the process you should get redirected to the same view as in 2 (the home page displaying the Wiki portlet maximized). Instead, though you get to the same page, the wiki portlet is not displayed.
During the create account process, after updating their password, users might get redirected to a view different from the one they're coming from.
The UpdatePasswordAction is not using the original URL contained in the referer param for the redirection after updating the password. In case referer URL exists, it should be used for the redirection so that users remain in the original page.