如何在 Firebase 简单登录上创建电子邮件验证 [英] How to create email verification on Firebase simple login
问题描述
在 angularfire 种子项目中,有一个使用电子邮件和密码的帐户注册过程.但是我们如何验证电子邮件不是假的呢?我的意思是它没有服务器代码,只有客户端代码.
In angularfire seed project, there is an account registration process using email and password. But how can we verify that the email is not fake? I mean it is without server code, just client code.
推荐答案
你可以在这个链接 angularjs-fire 种子项目 angularfire_seed_with_reg_confirmation.这里的一些解释 使用 angularjs+firebase 的电子邮件验证 以下是其自述文件中的引述:
You can angularjs-fire seed project at this link angularfire_seed_with_reg_confirmation. Some explanation of it here email verification using angularjs+firebase Below is the quote from its readme:
它是带有 Firebase 后端和帐户功能的 AngularJS 种子通过电子邮件确认注册.此功能可用作帐户激活的替代方法.它是 AngularFire Seed 的克隆具有上述附加功能以及登录功能小瓶社交登录即使用 Facebook、Twitter 和 Google 登录.
It is AngularJS seed with Firebase backend and a feature for account registration confirmation via email. This feature can be used as an alternative for account activation. It is a clone of AngularFire Seed with additional feature above and also login feature vial social login ie login with Facebook, Twitter, and Google.
账号注册与原始种子明显不同.我们可以通过提供电子邮件然后注册一个帐户我们会收到一封关于我们临时随机密码的确认电子邮件.建议将密码更改为易于记忆的密码,并在同时它也必须是强大和安全的.
The account registration differs significantly from the original seed. We can register for an account just by supplying an email and then we'll get a confirmation email about our temporary random password. The password is recommended to be changed to a memorable one and at the same time it must also be strong and secure.
这篇关于如何在 Firebase 简单登录上创建电子邮件验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!