Meteor 1.3 创建用户时验证电子邮件 [英] Meteor 1.3 verify email when creating user
问题描述
有人可以帮我指导我如何验证在meteor 1.3中创建用户时输入的电子邮件吗?
could someone please help me guiding me how to verify the email entered when a user is being created in meteor 1.3?
我正在使用这两个包:ian:accounts-ui-bootstrap-3
accounts-password
和第一个提供的模板 {{>loginButtons}}
.
I am using this two packages: ian:accounts-ui-bootstrap-3
accounts-password
and the template provided by the first one {{> loginButtons}}
.
我的用户正在正常创建,但我需要实现电子邮件验证.但是,我不确定如何继续.我在此处阅读的内容对我来说不清楚.我不知道何时以及如何调用该方法.
My user is being created normally but I need to implement email verification. However, I am not sure how to proceed. What I have read here it is not clear for me. I do not know when and how to call that method.
感谢你们的帮助.
推荐答案
根据我所阅读的内容,我无法使用上述包提供的登录表单来实现电子邮件验证.相反,我必须实现自己的一个调用一些方法来创建用户、验证电子邮件等.这是一个很好的例子:https://themeteorchef.com/snippets/sign-up-with-email-verification/
According to what I have read, I cannot implement email verification using the log in form provided by the mentioned packages. Instead, I have to implement my own one an call some methods to create users, verify email etc. This is a good example: https://themeteorchef.com/snippets/sign-up-with-email-verification/
这篇关于Meteor 1.3 创建用户时验证电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!