Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email verification not working #137

Open
paidon opened this issue Dec 11, 2013 · 2 comments
Open

email verification not working #137

paidon opened this issue Dec 11, 2013 · 2 comments

Comments

@paidon
Copy link

paidon commented Dec 11, 2013

Hello,

I've tried to use out-of-the-box email verfication but had no success.
If I don't do anything, the URL http://localhost:3000/#/verify-email/1234567890 has no effect.
Then I tried to implement myself:

Meteor.Router.add({
    '/#/verify-email/:_token': function(token) { 
        Accounts.verifyEmail(token); 
        return 'verifyEmail';
    }
});

which didn't work either.
With

Meteor.Router.add({
    '/customVerification/:_token': function(token) { 
        Accounts.verifyEmail(token); 
        return 'verifyEmail';
    }
})

and pointing to http://localhost:3000/customVerification/1234567890 it works.

Could anyone help?

@elvismercado
Copy link

Hello, i am having the same problem. Is there an update on this subject jet, other than using iron-router?

@jiangtao
Copy link

On Server:
Accounts.urls.verifyEmail = function(token) {
return Meteor.absoluteUrl('verifyEmail/' + token);
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants