@@ -37,12 +37,12 @@ admin.auth().generatePasswordResetLink(email, actionCodeSettings)
37
37
38
38
// [START email_verification_link]
39
39
// Admin SDK API to generate the email verification link.
40
- const email = '[email protected] ' ;
41
- admin . auth ( ) . generateEmailVerificationLink ( email , actionCodeSettings )
40
+ const useremail = '[email protected] ' ;
41
+ admin . auth ( ) . generateEmailVerificationLink ( useremail , actionCodeSettings )
42
42
. then ( ( link ) => {
43
43
// Construct email verification template, embed the link and send
44
44
// using custom SMTP server.
45
- return sendCustomVerificationEmail ( email , displayName , link ) ;
45
+ return sendCustomVerificationEmail ( useremail , displayName , link ) ;
46
46
} )
47
47
. catch ( ( error ) => {
48
48
// Some error occurred.
@@ -51,12 +51,12 @@ admin.auth().generateEmailVerificationLink(email, actionCodeSettings)
51
51
52
52
// [START sign_in_with_email_link]
53
53
// Admin SDK API to generate the sign in with email link.
54
- const email = '[email protected] ' ;
55
- admin . auth ( ) . generateSignInWithEmailLink ( email , actionCodeSettings )
54
+ const usremail = '[email protected] ' ;
55
+ admin . auth ( ) . generateSignInWithEmailLink ( usremail , actionCodeSettings )
56
56
. then ( ( link ) => {
57
57
// Construct sign-in with email link template, embed the link and
58
58
// send using custom SMTP server.
59
- return sendSignInEmail ( email , displayName , link ) ;
59
+ return sendSignInEmail ( usremail , displayName , link ) ;
60
60
} )
61
61
. catch ( ( error ) => {
62
62
// Some error occurred.
0 commit comments