Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit cef89a0

Browse files
committed
Update
Initiated by mongodb/docs-realm@32c5b7f
1 parent 8590565 commit cef89a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/AuthProvider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const AuthProvider = ({ children }) => {
7171
// The signUp function takes an email and password and uses the
7272
// emailPassword authentication provider to register the user.
7373
const signUp = async (email, password) => {
74-
await app.emailPasswordAuth.registerUser(email, password);
74+
await app.emailPasswordAuth.registerUser({ email, password });
7575
};
7676

7777
// The signOut function calls the logOut function on the currently

0 commit comments

Comments
 (0)