Open zcrowe opened 7 years ago
Any one got any insights they can offer?
got this too +1
This dirty hack should fix the problem @zcrowe:
Create a file eg. at-form.js
:
Template.atForm.onCreated(function() {
const template = this;
template.autorun(() => {
if (AccountsTemplates.getState() === 'signUp') {
FlowRouter.go('/register') // your registration url path
}
});
});
Hello!
I have a route setup as follows:
Which redirect to /login-in:
If the 'Register' link is clicked, the register form works, and does allow the user to login. I've noticed the URL does not change to /sign-up as expected. Registering does 'work' but the notification confirming registration and to check their email to confirm is only displayed for a split second before they are sent back to the signup form.
Is this a bug or is my accounts templates setup wrong?
Here it is in case it helps :)