Skip to content

Commit 47185fb

Browse files
committed
Merge branch 'master' into modular-admin
2 parents 0de2774 + e1be313 commit 47185fb

File tree

33 files changed

+1919
-1793
lines changed

33 files changed

+1919
-1793
lines changed

auth/email_action_links.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,13 @@ getAuth()
3131
.then((link) => {
3232
// Construct password reset email template, embed the link and send
3333
// using custom SMTP server.
34-
return sendCustomPasswordResetEmail(email, displayName, link);
34+
return sendCustomPasswordResetEmail(userEmail, displayName, link);
3535
})
3636
.catch((error) => {
3737
// Some error occurred.
3838
});
3939
// [END password_reset_link]
4040

41-
// [START email_verification_link]
42-
// Admin SDK API to generate the password reset link.
43-
const email = '[email protected]';
44-
getAuth()
45-
.generatePasswordResetLink(email, actionCodeSettings)
46-
.then((link) => {
47-
// Construct password reset email template, embed the link and send
48-
// using custom SMTP server.
49-
return sendCustomPasswordResetEmail(email, displayName, link);
50-
})
51-
.catch((error) => {
52-
// Some error occurred.
53-
});
54-
5541
// [START email_verification_link]
5642
// Admin SDK API to generate the email verification link.
5743
const useremail = '[email protected]';

auth/package-lock.json

Lines changed: 45 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"express": "^4.17.1",
12-
"firebase-admin": "^10.0.0",
13-
"firebase-functions": "^3.14.1"
12+
"firebase-admin": "^9.12.0",
13+
"firebase-functions": "^3.15.7"
1414
}
1515
}

0 commit comments

Comments
 (0)