guardian/frontend — pull request #5843 by jennysivapalan (2014-09-04 11:29:18+00:00)
Title: Keep returnUrl on form errors for the registration page

The returnUrl is being lost on form errors on the registration page. Subsequent successful form submissions eventually redirect back to the Guardian homepage. This is not ideal for Membership where we want them to head back to the Membership.

I've made returnUrl an Option on `renderForm` to allow for users who may directly go to /register (they will continue to be redirected to the Guardian homepage on successful sign up).

P.S @robertberry sorry if this too long a description :grin: