File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -31,28 +31,13 @@ admin
31
31
. then ( ( link ) => {
32
32
// Construct password reset email template, embed the link and send
33
33
// using custom SMTP server.
34
- return sendCustomPasswordResetEmail ( email , displayName , link ) ;
34
+ return sendCustomPasswordResetEmail ( userEmail , displayName , link ) ;
35
35
} )
36
36
. catch ( ( error ) => {
37
37
// Some error occurred.
38
38
} ) ;
39
39
// [END password_reset_link]
40
40
41
- // [START email_verification_link]
42
- // Admin SDK API to generate the password reset link.
43
- const email = 'user@example.com' ;
44
- admin
45
- . auth ( )
46
- . generatePasswordResetLink ( email , actionCodeSettings )
47
- . then ( ( link ) => {
48
- // Construct password reset email template, embed the link and send
49
- // using custom SMTP server.
50
- return sendCustomPasswordResetEmail ( email , displayName , link ) ;
51
- } )
52
- . catch ( ( error ) => {
53
- // Some error occurred.
54
- } ) ;
55
-
56
41
// [START email_verification_link]
57
42
// Admin SDK API to generate the email verification link.
58
43
const useremail = 'user@example.com' ;
You can’t perform that action at this time.
0 commit comments