如何使用Firebase将注册值(电子邮件和密码)发送到网站的登录页面



首先,我创建了注册页面,其中包含电子邮件和密码等字段。注册后,用户需要使用相同的注册凭据登录。我的问题是如何将注册凭据传递到网站的登录页面。

> https://firebase.google.com/docs/auth/web/password-auth

这包含该过程的详细信息:

 firebase.auth().createUserWithEmailAndPassword(email, password)

然后

 firebase.auth().signInWithEmailAndPassword(email, password)

最新更新