Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/375.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Firebase';需要最近登录';_Javascript_Firebase_Firebase Authentication - Fatal编程技术网

Javascript Firebase';需要最近登录';

Javascript Firebase';需要最近登录';,javascript,firebase,firebase-authentication,Javascript,Firebase,Firebase Authentication,我想知道firebase要求最近登录的情况。 如果我像这样重新验证用户 firebase.auth().currentUser.reauthenticateAndRetrieveDataWithCredential( firebase.auth.EmailAuthProvider.credential(firebase.auth().currentUser.email, typedpassword)) 要让用户更改密码或电子邮件,是否有可能出现要求最近登录错误?某些操作需要最近身份验证

我想知道firebase
要求最近登录的情况
。 如果我像这样重新验证用户

firebase.auth().currentUser.reauthenticateAndRetrieveDataWithCredential(
  firebase.auth.EmailAuthProvider.credential(firebase.auth().currentUser.email,
  typedpassword))

要让用户更改密码或电子邮件,是否有可能出现
要求最近登录
错误?

某些操作需要最近身份验证,但由于
auth/要求最近登录
错误代码而失败


需要最近身份验证的一个操作是更新电子邮件。

如果
重新身份验证和使用凭据重新验证数据成功,这并不意味着最近登录?