سؤال

I'm developing user registration/login feature in my Meteor app from scratch. I'm basing on this tutorial: https://waaave.com/tutorial/meteor/design-a-complete-authentication-system-with-meteor/

When I try to reset my password, I'm getting this error (after clicking on reset password link from email):

Expected null or template in return value from inclusion function, found: *token-string-printed-here*

I've found so far that it might be new Meteor templating system fault - Blaze, when returning null of no value - anyone know how to solve this? Please help.

I've found this link - maybe it will help someone help me :) :

http://www.meteorpedia.com/read/Blaze_Notes

هل كانت مفيدة؟

المحلول

Finally I've found the solution for my problem - it was the fault of duplicate names. I had resetPassword variable and resetPassword template - renaming the template to resetPasswordTemplate solved the problem.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top