Search code examples
iron-routeruser-accounts

Unable to pass query string parameters to sign up form


I'm trying to debug why any query string parameters aren't pre-filling the fields. My aim is to pass an email in the query string, so that the user doesn't need to type it again when registering.

http://my.splendido.site/sign-up?email=giorgio@example.com

I'm using a template "signUp" with {{> atForm state='signUp'}}

User-accounts Iron router package version 1.12.3 https://github.com/meteor-useraccounts/iron-routing

I've added a few debug statements to at_input.js template helper, but it doesn't seem to run at all. How can I debug why query string doesn't work?


Solution

  • I'm sorry it was a bug introduced with this commit and now fixed with this one. I'm going to release a new version soon so that with useraccounts:iron-routing@1.12.4 everything should be fine!

    I'm sorry for having caused this problem.