我正在为一个在线课程构建一个应用程序,但我喜欢采用他们的框架,并更好地添加到我的作品集中,添加功能。 他们正在教这个部分的Firebase并构建一个聊天应用程序...当我看到他们的视频时,他们使用“1@2.com”作为他们的电子邮件,这看起来不像一个真正的电子邮件,所以我在我的,并且我注意到,Firebase允许我使用随机分类的任何内容,因此显然不是真正的电子邮件“ajflkdsajffadjslfj123412djflakjdf@hotmail.com”进行注册。 我浏览了firebase文档,没有看到任何说明如何检查电子邮件是否实际上是电子邮件的内容。
I'm building an app for an online course, but I like to take their skeleton and make it better to add to my portfolio, adding features. They're teaching Firebase in this section and building a chat app... When I see their video they use "1@2.com" as their email, which doesn't seem like a real email, so I tried it in mine, and I noticed that Firebase is allowing me to use a random assortment of whatever, so an obviously not real email "ajflkdsajffadjslfj123412djflakjdf@hotmail.com" to register. I've skimmed through the firebase docs and didn't see anything that says how to check if the email is actually an email.
最满意答案
从技术上讲,这可能是一封有效的邮件,因此Firebase无法检查每封邮件是否有效。 你可以做的是向用户发送电子邮件验证,如果他们验证了他们的帐户,那么他们可以使用你的应用程序。
Firebase Auth文档中的电子邮件验证可以在此处找到。
Technically that could be a valid mail, so there is nothing Firebase can do to check every mails if they are valid or not. What you could do though is to send an email verification to the user and if they verify their account then they can use your application.
Email Verification in Firebase Auth documentation for that can be found here.
更多推荐
Firebase,com,电子,邮件,电脑培训,计算机培训,IT培训"/> <meta name="descriptio
发布评论