accounts-react
accounts-react copied to clipboard
Does not forward on successful registration
I'm still having troubles setting routing up correctly.
If the user successfully logs in or out, there is no automatic forward to another page. I managed to workaround this for logins by setting the onLoginHook.
However, there is no equivalent onRegisterHook.
So, I am scratching my head how I can automatically forward the user in this case?
Kinda solved it now by reacting on a redux state change, but still: it's weird this package doesn't do a forward on registration automatically.
+1 on this. The demo at https://react-accounts-demo.herokuapp.com/ seems to handle this just fine - I checked the source code and there doesn't seem to be any redirect / hookup magic yet the post-login / signup / logout forwarding works out of the box - which is not the case when installing the atmosphere package. @royGil ?
Hey, I'm not working with Meteor anymore and can't keep maintaining the project..
As for your question - you can use the generic onSubmitHook (example)
@royGil Sad to hear it's not maintained anymore. Are there alternatives?