You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling emailPasswordAuth.resetPassword() to reset a user's password.
Expected Results
The password should be reset.
Actual Results
I believe the error is in the following code from node_modules/realm/lib/email-password-auth-methods.js
The stack trace indicates that a parameter is missing and these two functions do not have cb in the argument list, unlike the other functions. Adding cb as the fourth argument to both functions fixed my issue.
Steps to Reproduce
Try to use the function.
Code Sample
Version of Realm and Tooling
Realm JS SDK Version: 10.0.0-beta.9
Node or React Native: Node
Client OS & Version: Ubuntu 18.04 LTS
The text was updated successfully, but these errors were encountered:
Goals
Calling
emailPasswordAuth.resetPassword()
to reset a user's password.Expected Results
The password should be reset.
Actual Results
I believe the error is in the following code from
node_modules/realm/lib/email-password-auth-methods.js
The stack trace indicates that a parameter is missing and these two functions do not have
cb
in the argument list, unlike the other functions. Addingcb
as the fourth argument to both functions fixed my issue.Steps to Reproduce
Try to use the function.
Code Sample
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: