Skip to content

Commit 9ae4a8e

Browse files
authored
Update auth_reauth_with_credential.js
1 parent 584c0fc commit 9ae4a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/auth-next/manage/auth_reauth_with_credential.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const promptForCredentials = (userProvidedPassword) => {
1515
return EmailAuthProvider.credential(user.email, userProvidedPassword);
1616
}
1717

18-
const credential = promptForCredentials();
18+
const credential = promptForCredentials(userProvidedPassword);
1919

2020
reauthenticateWithCredential(user, credential).then(() => {
2121
// User re-authenticated.

0 commit comments

Comments
 (0)