brianchandotcom/liferay-plugins — pull request #1102 by epgarcia (2012-11-14 15:32:08+00:00)
Title: SOS-587 Only the createAccountURL must contain the member key in the redirect param. Do not change the order

Hi Brian,

In your source formatting you changed the order in which the createAccountURL and loginURL are generated. Normally your order' would be fine, but in this case we need the loginURL to be created first with the redirect param still not containing the member key, and then the createAccountURL with the redirect param containing the member key.

This is important so that the LoginPostAction event in the portlet-hook creates a notification only for the new users (the existing ones, redirected to LoginURL, already have the notification created).

Thanks!