.landing-container

:javascript
  //
  // Would be nice to redirect to:
  // #{session[:omniauth_origin]}
  // but this is cleared out after logout.
  //
  if (!Portal.currentUser.isAnonymous) {
    PortalPages.renderSignupModal({omniauth: true});
  } else {
    window.location.href = "/";
  }


.landing-container

:javascript
  //
  // Would be nice to redirect to:
  // #{session[:omniauth_origin]}
  // but this is cleared out after logout.
  //
  if (!Portal.currentUser.isAnonymous) {
    PortalPages.renderSignupModal(
        {
            omniauth: true,
            omniauth_origin: "#{session[:omniauth_origin]}"
        }
    );
  } else {
    window.location.href = "/";
  }


Add omniauth_origin to registration wizard for redirect when dismissing.
Add omniauth_origin to registration wizard for redirect when dismissing.

[#150313274]
